@lansweeper/ot-asset-model 0.0.4
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 +32 -0
- package/Lansweeper.Model.OTAsset.csproj +20 -0
- package/OTAssetFileLoader.cs +20 -0
- package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.deps.json +23 -0
- package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.deps.json +47 -0
- package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/dist/index.js +17 -0
- package/dist/modelGenerator.js +34 -0
- package/dist/ot-model.json +94 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/modelGenerator.d.ts +3 -0
- package/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs +4 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +25 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.GeneratedMSBuildEditorConfig.editorconfig +10 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.assets.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.AssemblyReference.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.CoreCompileInputs.cache +1 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.FileListAbsolute.txt +12 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/obj/Debug/net6.0/ref/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/net6.0/refint/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.cs +4 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +25 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.GeneratedMSBuildEditorConfig.editorconfig +3 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.assets.cache +0 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.csproj.AssemblyReference.cache +0 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.csproj.CoreCompileInputs.cache +1 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.csproj.FileListAbsolute.txt +10 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/obj/Lansweeper.Model.OTAsset.csproj.nuget.dgspec.json +88 -0
- package/obj/Lansweeper.Model.OTAsset.csproj.nuget.g.props +15 -0
- package/obj/Lansweeper.Model.OTAsset.csproj.nuget.g.targets +6 -0
- package/obj/project.assets.json +267 -0
- package/obj/project.nuget.cache +11 -0
- package/package.json +21 -0
- package/src/index.ts +1 -0
- package/src/modelGenerator.ts +12 -0
- package/src/ot-model.json +94 -0
- package/tsconfig.json +15 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [0.0.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.3...@lansweeper/ot-asset-model@0.0.4) (2022-05-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/ot-asset-model
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.0.3](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.2...@lansweeper/ot-asset-model@0.0.3) (2022-05-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/ot-asset-model
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 0.0.2 (2022-05-04)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @lansweeper/ot-asset-model
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## 0.0.1 (2022-05-04)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @lansweeper/lansweeper-model-ot-asset
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
|
5
|
+
<Title>Lansweeper Model - OTAsset</Title>
|
|
6
|
+
<Description>More Info : http://www.lansweeper.com</Description>
|
|
7
|
+
<Company>Lansweeper</Company>
|
|
8
|
+
<Product>Lansweeper Syncer</Product>
|
|
9
|
+
<Copyright>Lansweeper</Copyright>
|
|
10
|
+
<PackageVersion>0.0.3</PackageVersion>
|
|
11
|
+
<Version>0.0.3</Version>
|
|
12
|
+
<FileVersion>0.0.3</FileVersion>
|
|
13
|
+
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
|
+
</PropertyGroup>
|
|
15
|
+
<ItemGroup>
|
|
16
|
+
<EmbeddedResource Include="src/ot-model.json">
|
|
17
|
+
<LogicalName>Lansweeper.Model.OTAsset.Content.json</LogicalName>
|
|
18
|
+
</EmbeddedResource>
|
|
19
|
+
</ItemGroup>
|
|
20
|
+
</Project>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
using System.IO;
|
|
2
|
+
using System.Reflection;
|
|
3
|
+
|
|
4
|
+
namespace Lansweeper.Model.OTAsset
|
|
5
|
+
{
|
|
6
|
+
public static class OTAssetFileLoader
|
|
7
|
+
{
|
|
8
|
+
public static string LoadFile()
|
|
9
|
+
{
|
|
10
|
+
using (var stream = Assembly.GetAssembly(typeof(OTAssetFileLoader)).GetManifestResourceStream("Lansweeper.Model.OTAsset.Content.json"))
|
|
11
|
+
{
|
|
12
|
+
using (var reader = new StreamReader(stream))
|
|
13
|
+
{
|
|
14
|
+
var data = reader.ReadToEnd();
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtimeTarget": {
|
|
3
|
+
"name": ".NETCoreApp,Version=v6.0",
|
|
4
|
+
"signature": ""
|
|
5
|
+
},
|
|
6
|
+
"compilationOptions": {},
|
|
7
|
+
"targets": {
|
|
8
|
+
".NETCoreApp,Version=v6.0": {
|
|
9
|
+
"Lansweeper.Model.OTAsset/0.0.3": {
|
|
10
|
+
"runtime": {
|
|
11
|
+
"Lansweeper.Model.OTAsset.dll": {}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"libraries": {
|
|
17
|
+
"Lansweeper.Model.OTAsset/0.0.3": {
|
|
18
|
+
"type": "project",
|
|
19
|
+
"serviceable": false,
|
|
20
|
+
"sha512": ""
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtimeTarget": {
|
|
3
|
+
"name": ".NETStandard,Version=v2.0/",
|
|
4
|
+
"signature": ""
|
|
5
|
+
},
|
|
6
|
+
"compilationOptions": {},
|
|
7
|
+
"targets": {
|
|
8
|
+
".NETStandard,Version=v2.0": {},
|
|
9
|
+
".NETStandard,Version=v2.0/": {
|
|
10
|
+
"Lansweeper.Model.OTAsset/0.0.3": {
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"NETStandard.Library": "2.0.3"
|
|
13
|
+
},
|
|
14
|
+
"runtime": {
|
|
15
|
+
"Lansweeper.Model.OTAsset.dll": {}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"Microsoft.NETCore.Platforms/1.1.0": {},
|
|
19
|
+
"NETStandard.Library/2.0.3": {
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"Microsoft.NETCore.Platforms": "1.1.0"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"libraries": {
|
|
27
|
+
"Lansweeper.Model.OTAsset/0.0.3": {
|
|
28
|
+
"type": "project",
|
|
29
|
+
"serviceable": false,
|
|
30
|
+
"sha512": ""
|
|
31
|
+
},
|
|
32
|
+
"Microsoft.NETCore.Platforms/1.1.0": {
|
|
33
|
+
"type": "package",
|
|
34
|
+
"serviceable": true,
|
|
35
|
+
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
|
36
|
+
"path": "microsoft.netcore.platforms/1.1.0",
|
|
37
|
+
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
|
38
|
+
},
|
|
39
|
+
"NETStandard.Library/2.0.3": {
|
|
40
|
+
"type": "package",
|
|
41
|
+
"serviceable": true,
|
|
42
|
+
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
|
|
43
|
+
"path": "netstandard.library/2.0.3",
|
|
44
|
+
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./modelGenerator"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.AssetModel = void 0;
|
|
27
|
+
var data = __importStar(require("./ot-model.json"));
|
|
28
|
+
var model = Object.values(data);
|
|
29
|
+
var AssetModel = model.reduce(function (acc, curr) {
|
|
30
|
+
var entity = curr.cloudEntity;
|
|
31
|
+
acc[entity] = curr;
|
|
32
|
+
return acc;
|
|
33
|
+
}, {});
|
|
34
|
+
exports.AssetModel = AssetModel;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"context": "Asset",
|
|
4
|
+
"cloudEntity": "Asset",
|
|
5
|
+
"onpremTable": "Asset",
|
|
6
|
+
"onpremId": "Id",
|
|
7
|
+
"cloudId": "assetId",
|
|
8
|
+
"cloudKey": "assetKey",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"isArray": false,
|
|
12
|
+
"propertyName": "assetCustom",
|
|
13
|
+
"properties": {
|
|
14
|
+
"manufacturer": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"model": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"serialNumber": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"isArray": false,
|
|
27
|
+
"propertyName": "otData",
|
|
28
|
+
"properties": {
|
|
29
|
+
"rackSize": {
|
|
30
|
+
"type": "float"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"properties": {
|
|
36
|
+
"assetId": {
|
|
37
|
+
"onprem": "Id",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"ipAddress": {
|
|
41
|
+
"onprem": "IPAddress",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"ipNumeric": {
|
|
45
|
+
"onprem": "IPNumeric",
|
|
46
|
+
"type": "float"
|
|
47
|
+
},
|
|
48
|
+
"mac": {
|
|
49
|
+
"onprem": "Mac",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"assetTypeId": {
|
|
53
|
+
"onprem": "AssetTypeId",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"assetName": {
|
|
57
|
+
"onprem": "Name",
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"description": {
|
|
61
|
+
"onprem": "Description",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"manufacturer": {
|
|
65
|
+
"onprem": "Manufacturer",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"model": {
|
|
69
|
+
"onprem": "Model",
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"serialNumber": {
|
|
73
|
+
"onprem": "SerialNumber",
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"rackSize": {
|
|
77
|
+
"onprem": "RackSize",
|
|
78
|
+
"type": "float"
|
|
79
|
+
},
|
|
80
|
+
"firstSeen": {
|
|
81
|
+
"onprem": "Firstseen",
|
|
82
|
+
"type": "date-time"
|
|
83
|
+
},
|
|
84
|
+
"lastTried": {
|
|
85
|
+
"onprem": "Lasttried",
|
|
86
|
+
"type": "date-time"
|
|
87
|
+
},
|
|
88
|
+
"lastChanged": {
|
|
89
|
+
"onprem": "LastChanged",
|
|
90
|
+
"type": "date-time"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./modelGenerator";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
//
|
|
5
|
+
// Changes to this file may cause incorrect behavior and will be lost if
|
|
6
|
+
// the code is regenerated.
|
|
7
|
+
// </auto-generated>
|
|
8
|
+
//------------------------------------------------------------------------------
|
|
9
|
+
|
|
10
|
+
using System;
|
|
11
|
+
using System.Reflection;
|
|
12
|
+
|
|
13
|
+
[assembly: System.Reflection.AssemblyCompanyAttribute("Lansweeper")]
|
|
14
|
+
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
|
+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
|
|
16
|
+
[assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
|
|
17
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.3")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.3")]
|
|
19
|
+
[assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
|
|
20
|
+
[assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
|
|
21
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.3.0")]
|
|
22
|
+
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
|
|
23
|
+
|
|
24
|
+
// Generated by the MSBuild WriteCodeFragment class.
|
|
25
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
675da9cd962ef4b44eb41c36d629c8a3a4b841d4
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
is_global = true
|
|
2
|
+
build_property.TargetFramework = net6.0
|
|
3
|
+
build_property.TargetPlatformMinVersion =
|
|
4
|
+
build_property.UsingMicrosoftNETSdkWeb =
|
|
5
|
+
build_property.ProjectTypeGuids =
|
|
6
|
+
build_property.InvariantGlobalization =
|
|
7
|
+
build_property.PlatformNeutralAssembly =
|
|
8
|
+
build_property._SupportedPlatformList = Linux,macOS,Windows
|
|
9
|
+
build_property.RootNamespace = Lansweeper.Model.OTAsset
|
|
10
|
+
build_property.ProjectDir = /home/circleci/project/packages/model/otAsset/
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
731f837439e3b8a04ee87ec1fa06f16d20d3fac9
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/home/circleci/project/packages/model/otAsset/bin/Debug/net6.0/Lansweeper.Model.OTAsset.deps.json
|
|
2
|
+
/home/circleci/project/packages/model/otAsset/bin/Debug/net6.0/Lansweeper.Model.OTAsset.dll
|
|
3
|
+
/home/circleci/project/packages/model/otAsset/bin/Debug/net6.0/Lansweeper.Model.OTAsset.pdb
|
|
4
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.AssemblyReference.cache
|
|
5
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/Lansweeper.Model.OTAsset.GeneratedMSBuildEditorConfig.editorconfig
|
|
6
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache
|
|
7
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs
|
|
8
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.CoreCompileInputs.cache
|
|
9
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/Lansweeper.Model.OTAsset.dll
|
|
10
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/refint/Lansweeper.Model.OTAsset.dll
|
|
11
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/Lansweeper.Model.OTAsset.pdb
|
|
12
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/net6.0/ref/Lansweeper.Model.OTAsset.dll
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
//
|
|
5
|
+
// Changes to this file may cause incorrect behavior and will be lost if
|
|
6
|
+
// the code is regenerated.
|
|
7
|
+
// </auto-generated>
|
|
8
|
+
//------------------------------------------------------------------------------
|
|
9
|
+
|
|
10
|
+
using System;
|
|
11
|
+
using System.Reflection;
|
|
12
|
+
|
|
13
|
+
[assembly: System.Reflection.AssemblyCompanyAttribute("Lansweeper")]
|
|
14
|
+
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
|
+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
|
|
16
|
+
[assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
|
|
17
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.3")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.3")]
|
|
19
|
+
[assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
|
|
20
|
+
[assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
|
|
21
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.3.0")]
|
|
22
|
+
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
|
|
23
|
+
|
|
24
|
+
// Generated by the MSBuild WriteCodeFragment class.
|
|
25
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
675da9cd962ef4b44eb41c36d629c8a3a4b841d4
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
19eb23b1f8acc285088f621c429a0dd475f65e53
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/home/circleci/project/packages/model/otAsset/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.deps.json
|
|
2
|
+
/home/circleci/project/packages/model/otAsset/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll
|
|
3
|
+
/home/circleci/project/packages/model/otAsset/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb
|
|
4
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.csproj.AssemblyReference.cache
|
|
5
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.GeneratedMSBuildEditorConfig.editorconfig
|
|
6
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache
|
|
7
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs
|
|
8
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.csproj.CoreCompileInputs.cache
|
|
9
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll
|
|
10
|
+
/home/circleci/project/packages/model/otAsset/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"restore": {
|
|
4
|
+
"/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj": {}
|
|
5
|
+
},
|
|
6
|
+
"projects": {
|
|
7
|
+
"/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj": {
|
|
8
|
+
"version": "0.0.3",
|
|
9
|
+
"restore": {
|
|
10
|
+
"projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
11
|
+
"projectName": "Lansweeper.Model.OTAsset",
|
|
12
|
+
"projectPath": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
13
|
+
"packagesPath": "/home/circleci/.nuget/packages/",
|
|
14
|
+
"outputPath": "/home/circleci/project/packages/model/otAsset/obj/",
|
|
15
|
+
"projectStyle": "PackageReference",
|
|
16
|
+
"crossTargeting": true,
|
|
17
|
+
"configFilePaths": [
|
|
18
|
+
"/home/circleci/.nuget/NuGet/NuGet.Config"
|
|
19
|
+
],
|
|
20
|
+
"originalTargetFrameworks": [
|
|
21
|
+
"net6.0",
|
|
22
|
+
"netstandard2.0"
|
|
23
|
+
],
|
|
24
|
+
"sources": {
|
|
25
|
+
"https://api.nuget.org/v3/index.json": {}
|
|
26
|
+
},
|
|
27
|
+
"frameworks": {
|
|
28
|
+
"net6.0": {
|
|
29
|
+
"targetAlias": "net6.0",
|
|
30
|
+
"projectReferences": {}
|
|
31
|
+
},
|
|
32
|
+
"netstandard2.0": {
|
|
33
|
+
"targetAlias": "netstandard2.0",
|
|
34
|
+
"projectReferences": {}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"warningProperties": {
|
|
38
|
+
"warnAsError": [
|
|
39
|
+
"NU1605"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"frameworks": {
|
|
44
|
+
"net6.0": {
|
|
45
|
+
"targetAlias": "net6.0",
|
|
46
|
+
"imports": [
|
|
47
|
+
"net461",
|
|
48
|
+
"net462",
|
|
49
|
+
"net47",
|
|
50
|
+
"net471",
|
|
51
|
+
"net472",
|
|
52
|
+
"net48"
|
|
53
|
+
],
|
|
54
|
+
"assetTargetFallback": true,
|
|
55
|
+
"warn": true,
|
|
56
|
+
"frameworkReferences": {
|
|
57
|
+
"Microsoft.NETCore.App": {
|
|
58
|
+
"privateAssets": "all"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.202/RuntimeIdentifierGraph.json"
|
|
62
|
+
},
|
|
63
|
+
"netstandard2.0": {
|
|
64
|
+
"targetAlias": "netstandard2.0",
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"NETStandard.Library": {
|
|
67
|
+
"suppressParent": "All",
|
|
68
|
+
"target": "Package",
|
|
69
|
+
"version": "[2.0.3, )",
|
|
70
|
+
"autoReferenced": true
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"imports": [
|
|
74
|
+
"net461",
|
|
75
|
+
"net462",
|
|
76
|
+
"net47",
|
|
77
|
+
"net471",
|
|
78
|
+
"net472",
|
|
79
|
+
"net48"
|
|
80
|
+
],
|
|
81
|
+
"assetTargetFallback": true,
|
|
82
|
+
"warn": true,
|
|
83
|
+
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.202/RuntimeIdentifierGraph.json"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
4
|
+
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
|
5
|
+
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
|
6
|
+
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
|
7
|
+
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageRoot>
|
|
8
|
+
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageFolders>
|
|
9
|
+
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
|
10
|
+
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion>
|
|
11
|
+
</PropertyGroup>
|
|
12
|
+
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
13
|
+
<SourceRoot Include="/home/circleci/.nuget/packages/" />
|
|
14
|
+
</ItemGroup>
|
|
15
|
+
</Project>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ImportGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' AND '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
4
|
+
<Import Project="$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets')" />
|
|
5
|
+
</ImportGroup>
|
|
6
|
+
</Project>
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"targets": {
|
|
4
|
+
".NETStandard,Version=v2.0": {
|
|
5
|
+
"Microsoft.NETCore.Platforms/1.1.0": {
|
|
6
|
+
"type": "package",
|
|
7
|
+
"compile": {
|
|
8
|
+
"lib/netstandard1.0/_._": {}
|
|
9
|
+
},
|
|
10
|
+
"runtime": {
|
|
11
|
+
"lib/netstandard1.0/_._": {}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"NETStandard.Library/2.0.3": {
|
|
15
|
+
"type": "package",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"Microsoft.NETCore.Platforms": "1.1.0"
|
|
18
|
+
},
|
|
19
|
+
"compile": {
|
|
20
|
+
"lib/netstandard1.0/_._": {}
|
|
21
|
+
},
|
|
22
|
+
"runtime": {
|
|
23
|
+
"lib/netstandard1.0/_._": {}
|
|
24
|
+
},
|
|
25
|
+
"build": {
|
|
26
|
+
"build/netstandard2.0/NETStandard.Library.targets": {}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"net6.0": {}
|
|
31
|
+
},
|
|
32
|
+
"libraries": {
|
|
33
|
+
"Microsoft.NETCore.Platforms/1.1.0": {
|
|
34
|
+
"sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
|
35
|
+
"type": "package",
|
|
36
|
+
"path": "microsoft.netcore.platforms/1.1.0",
|
|
37
|
+
"files": [
|
|
38
|
+
".nupkg.metadata",
|
|
39
|
+
".signature.p7s",
|
|
40
|
+
"ThirdPartyNotices.txt",
|
|
41
|
+
"dotnet_library_license.txt",
|
|
42
|
+
"lib/netstandard1.0/_._",
|
|
43
|
+
"microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
|
44
|
+
"microsoft.netcore.platforms.nuspec",
|
|
45
|
+
"runtime.json"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"NETStandard.Library/2.0.3": {
|
|
49
|
+
"sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
|
|
50
|
+
"type": "package",
|
|
51
|
+
"path": "netstandard.library/2.0.3",
|
|
52
|
+
"files": [
|
|
53
|
+
".nupkg.metadata",
|
|
54
|
+
".signature.p7s",
|
|
55
|
+
"LICENSE.TXT",
|
|
56
|
+
"THIRD-PARTY-NOTICES.TXT",
|
|
57
|
+
"build/netstandard2.0/NETStandard.Library.targets",
|
|
58
|
+
"build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll",
|
|
59
|
+
"build/netstandard2.0/ref/System.AppContext.dll",
|
|
60
|
+
"build/netstandard2.0/ref/System.Collections.Concurrent.dll",
|
|
61
|
+
"build/netstandard2.0/ref/System.Collections.NonGeneric.dll",
|
|
62
|
+
"build/netstandard2.0/ref/System.Collections.Specialized.dll",
|
|
63
|
+
"build/netstandard2.0/ref/System.Collections.dll",
|
|
64
|
+
"build/netstandard2.0/ref/System.ComponentModel.Composition.dll",
|
|
65
|
+
"build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll",
|
|
66
|
+
"build/netstandard2.0/ref/System.ComponentModel.Primitives.dll",
|
|
67
|
+
"build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll",
|
|
68
|
+
"build/netstandard2.0/ref/System.ComponentModel.dll",
|
|
69
|
+
"build/netstandard2.0/ref/System.Console.dll",
|
|
70
|
+
"build/netstandard2.0/ref/System.Core.dll",
|
|
71
|
+
"build/netstandard2.0/ref/System.Data.Common.dll",
|
|
72
|
+
"build/netstandard2.0/ref/System.Data.dll",
|
|
73
|
+
"build/netstandard2.0/ref/System.Diagnostics.Contracts.dll",
|
|
74
|
+
"build/netstandard2.0/ref/System.Diagnostics.Debug.dll",
|
|
75
|
+
"build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll",
|
|
76
|
+
"build/netstandard2.0/ref/System.Diagnostics.Process.dll",
|
|
77
|
+
"build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll",
|
|
78
|
+
"build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll",
|
|
79
|
+
"build/netstandard2.0/ref/System.Diagnostics.Tools.dll",
|
|
80
|
+
"build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll",
|
|
81
|
+
"build/netstandard2.0/ref/System.Diagnostics.Tracing.dll",
|
|
82
|
+
"build/netstandard2.0/ref/System.Drawing.Primitives.dll",
|
|
83
|
+
"build/netstandard2.0/ref/System.Drawing.dll",
|
|
84
|
+
"build/netstandard2.0/ref/System.Dynamic.Runtime.dll",
|
|
85
|
+
"build/netstandard2.0/ref/System.Globalization.Calendars.dll",
|
|
86
|
+
"build/netstandard2.0/ref/System.Globalization.Extensions.dll",
|
|
87
|
+
"build/netstandard2.0/ref/System.Globalization.dll",
|
|
88
|
+
"build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll",
|
|
89
|
+
"build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll",
|
|
90
|
+
"build/netstandard2.0/ref/System.IO.Compression.dll",
|
|
91
|
+
"build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll",
|
|
92
|
+
"build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll",
|
|
93
|
+
"build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll",
|
|
94
|
+
"build/netstandard2.0/ref/System.IO.FileSystem.dll",
|
|
95
|
+
"build/netstandard2.0/ref/System.IO.IsolatedStorage.dll",
|
|
96
|
+
"build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll",
|
|
97
|
+
"build/netstandard2.0/ref/System.IO.Pipes.dll",
|
|
98
|
+
"build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll",
|
|
99
|
+
"build/netstandard2.0/ref/System.IO.dll",
|
|
100
|
+
"build/netstandard2.0/ref/System.Linq.Expressions.dll",
|
|
101
|
+
"build/netstandard2.0/ref/System.Linq.Parallel.dll",
|
|
102
|
+
"build/netstandard2.0/ref/System.Linq.Queryable.dll",
|
|
103
|
+
"build/netstandard2.0/ref/System.Linq.dll",
|
|
104
|
+
"build/netstandard2.0/ref/System.Net.Http.dll",
|
|
105
|
+
"build/netstandard2.0/ref/System.Net.NameResolution.dll",
|
|
106
|
+
"build/netstandard2.0/ref/System.Net.NetworkInformation.dll",
|
|
107
|
+
"build/netstandard2.0/ref/System.Net.Ping.dll",
|
|
108
|
+
"build/netstandard2.0/ref/System.Net.Primitives.dll",
|
|
109
|
+
"build/netstandard2.0/ref/System.Net.Requests.dll",
|
|
110
|
+
"build/netstandard2.0/ref/System.Net.Security.dll",
|
|
111
|
+
"build/netstandard2.0/ref/System.Net.Sockets.dll",
|
|
112
|
+
"build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll",
|
|
113
|
+
"build/netstandard2.0/ref/System.Net.WebSockets.Client.dll",
|
|
114
|
+
"build/netstandard2.0/ref/System.Net.WebSockets.dll",
|
|
115
|
+
"build/netstandard2.0/ref/System.Net.dll",
|
|
116
|
+
"build/netstandard2.0/ref/System.Numerics.dll",
|
|
117
|
+
"build/netstandard2.0/ref/System.ObjectModel.dll",
|
|
118
|
+
"build/netstandard2.0/ref/System.Reflection.Extensions.dll",
|
|
119
|
+
"build/netstandard2.0/ref/System.Reflection.Primitives.dll",
|
|
120
|
+
"build/netstandard2.0/ref/System.Reflection.dll",
|
|
121
|
+
"build/netstandard2.0/ref/System.Resources.Reader.dll",
|
|
122
|
+
"build/netstandard2.0/ref/System.Resources.ResourceManager.dll",
|
|
123
|
+
"build/netstandard2.0/ref/System.Resources.Writer.dll",
|
|
124
|
+
"build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll",
|
|
125
|
+
"build/netstandard2.0/ref/System.Runtime.Extensions.dll",
|
|
126
|
+
"build/netstandard2.0/ref/System.Runtime.Handles.dll",
|
|
127
|
+
"build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll",
|
|
128
|
+
"build/netstandard2.0/ref/System.Runtime.InteropServices.dll",
|
|
129
|
+
"build/netstandard2.0/ref/System.Runtime.Numerics.dll",
|
|
130
|
+
"build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll",
|
|
131
|
+
"build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll",
|
|
132
|
+
"build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll",
|
|
133
|
+
"build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll",
|
|
134
|
+
"build/netstandard2.0/ref/System.Runtime.Serialization.dll",
|
|
135
|
+
"build/netstandard2.0/ref/System.Runtime.dll",
|
|
136
|
+
"build/netstandard2.0/ref/System.Security.Claims.dll",
|
|
137
|
+
"build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll",
|
|
138
|
+
"build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll",
|
|
139
|
+
"build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll",
|
|
140
|
+
"build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll",
|
|
141
|
+
"build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll",
|
|
142
|
+
"build/netstandard2.0/ref/System.Security.Principal.dll",
|
|
143
|
+
"build/netstandard2.0/ref/System.Security.SecureString.dll",
|
|
144
|
+
"build/netstandard2.0/ref/System.ServiceModel.Web.dll",
|
|
145
|
+
"build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll",
|
|
146
|
+
"build/netstandard2.0/ref/System.Text.Encoding.dll",
|
|
147
|
+
"build/netstandard2.0/ref/System.Text.RegularExpressions.dll",
|
|
148
|
+
"build/netstandard2.0/ref/System.Threading.Overlapped.dll",
|
|
149
|
+
"build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll",
|
|
150
|
+
"build/netstandard2.0/ref/System.Threading.Tasks.dll",
|
|
151
|
+
"build/netstandard2.0/ref/System.Threading.Thread.dll",
|
|
152
|
+
"build/netstandard2.0/ref/System.Threading.ThreadPool.dll",
|
|
153
|
+
"build/netstandard2.0/ref/System.Threading.Timer.dll",
|
|
154
|
+
"build/netstandard2.0/ref/System.Threading.dll",
|
|
155
|
+
"build/netstandard2.0/ref/System.Transactions.dll",
|
|
156
|
+
"build/netstandard2.0/ref/System.ValueTuple.dll",
|
|
157
|
+
"build/netstandard2.0/ref/System.Web.dll",
|
|
158
|
+
"build/netstandard2.0/ref/System.Windows.dll",
|
|
159
|
+
"build/netstandard2.0/ref/System.Xml.Linq.dll",
|
|
160
|
+
"build/netstandard2.0/ref/System.Xml.ReaderWriter.dll",
|
|
161
|
+
"build/netstandard2.0/ref/System.Xml.Serialization.dll",
|
|
162
|
+
"build/netstandard2.0/ref/System.Xml.XDocument.dll",
|
|
163
|
+
"build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll",
|
|
164
|
+
"build/netstandard2.0/ref/System.Xml.XPath.dll",
|
|
165
|
+
"build/netstandard2.0/ref/System.Xml.XmlDocument.dll",
|
|
166
|
+
"build/netstandard2.0/ref/System.Xml.XmlSerializer.dll",
|
|
167
|
+
"build/netstandard2.0/ref/System.Xml.dll",
|
|
168
|
+
"build/netstandard2.0/ref/System.dll",
|
|
169
|
+
"build/netstandard2.0/ref/mscorlib.dll",
|
|
170
|
+
"build/netstandard2.0/ref/netstandard.dll",
|
|
171
|
+
"build/netstandard2.0/ref/netstandard.xml",
|
|
172
|
+
"lib/netstandard1.0/_._",
|
|
173
|
+
"netstandard.library.2.0.3.nupkg.sha512",
|
|
174
|
+
"netstandard.library.nuspec"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"projectFileDependencyGroups": {
|
|
179
|
+
".NETStandard,Version=v2.0": [
|
|
180
|
+
"NETStandard.Library >= 2.0.3"
|
|
181
|
+
],
|
|
182
|
+
"net6.0": []
|
|
183
|
+
},
|
|
184
|
+
"packageFolders": {
|
|
185
|
+
"/home/circleci/.nuget/packages/": {}
|
|
186
|
+
},
|
|
187
|
+
"project": {
|
|
188
|
+
"version": "0.0.3",
|
|
189
|
+
"restore": {
|
|
190
|
+
"projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
191
|
+
"projectName": "Lansweeper.Model.OTAsset",
|
|
192
|
+
"projectPath": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
193
|
+
"packagesPath": "/home/circleci/.nuget/packages/",
|
|
194
|
+
"outputPath": "/home/circleci/project/packages/model/otAsset/obj/",
|
|
195
|
+
"projectStyle": "PackageReference",
|
|
196
|
+
"crossTargeting": true,
|
|
197
|
+
"configFilePaths": [
|
|
198
|
+
"/home/circleci/.nuget/NuGet/NuGet.Config"
|
|
199
|
+
],
|
|
200
|
+
"originalTargetFrameworks": [
|
|
201
|
+
"net6.0",
|
|
202
|
+
"netstandard2.0"
|
|
203
|
+
],
|
|
204
|
+
"sources": {
|
|
205
|
+
"https://api.nuget.org/v3/index.json": {}
|
|
206
|
+
},
|
|
207
|
+
"frameworks": {
|
|
208
|
+
"net6.0": {
|
|
209
|
+
"targetAlias": "net6.0",
|
|
210
|
+
"projectReferences": {}
|
|
211
|
+
},
|
|
212
|
+
"netstandard2.0": {
|
|
213
|
+
"targetAlias": "netstandard2.0",
|
|
214
|
+
"projectReferences": {}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"warningProperties": {
|
|
218
|
+
"warnAsError": [
|
|
219
|
+
"NU1605"
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"frameworks": {
|
|
224
|
+
"net6.0": {
|
|
225
|
+
"targetAlias": "net6.0",
|
|
226
|
+
"imports": [
|
|
227
|
+
"net461",
|
|
228
|
+
"net462",
|
|
229
|
+
"net47",
|
|
230
|
+
"net471",
|
|
231
|
+
"net472",
|
|
232
|
+
"net48"
|
|
233
|
+
],
|
|
234
|
+
"assetTargetFallback": true,
|
|
235
|
+
"warn": true,
|
|
236
|
+
"frameworkReferences": {
|
|
237
|
+
"Microsoft.NETCore.App": {
|
|
238
|
+
"privateAssets": "all"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.202/RuntimeIdentifierGraph.json"
|
|
242
|
+
},
|
|
243
|
+
"netstandard2.0": {
|
|
244
|
+
"targetAlias": "netstandard2.0",
|
|
245
|
+
"dependencies": {
|
|
246
|
+
"NETStandard.Library": {
|
|
247
|
+
"suppressParent": "All",
|
|
248
|
+
"target": "Package",
|
|
249
|
+
"version": "[2.0.3, )",
|
|
250
|
+
"autoReferenced": true
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"imports": [
|
|
254
|
+
"net461",
|
|
255
|
+
"net462",
|
|
256
|
+
"net47",
|
|
257
|
+
"net471",
|
|
258
|
+
"net472",
|
|
259
|
+
"net48"
|
|
260
|
+
],
|
|
261
|
+
"assetTargetFallback": true,
|
|
262
|
+
"warn": true,
|
|
263
|
+
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.202/RuntimeIdentifierGraph.json"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 2,
|
|
3
|
+
"dgSpecHash": "ggT+j3l+ggbVITY+umVRl409bJ7WmKiLSZVjIHa8cub1OrlXz6cE7pqvabSRxXliVKOSqUAj9iN8bfb4acB4OQ==",
|
|
4
|
+
"success": true,
|
|
5
|
+
"projectFilePath": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
6
|
+
"expectedPackageFiles": [
|
|
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
|
+
],
|
|
10
|
+
"logs": []
|
|
11
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lansweeper/ot-asset-model",
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"description": "OT Asset model",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"types": "dist/types",
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@lansweeper/asset-model": "^2.10.2",
|
|
12
|
+
"@types/node": "^14.14.25",
|
|
13
|
+
"grpc-tools": "^1.11.2",
|
|
14
|
+
"ts-node": "^9.1.1",
|
|
15
|
+
"typescript": "^4.1.3"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc"
|
|
19
|
+
},
|
|
20
|
+
"gitHead": "befd85f31db3b069b5b91bdcd062c4abe92f6e31"
|
|
21
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./modelGenerator";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IAssetEntities, IEntity } from "@lansweeper/asset-model";
|
|
2
|
+
import * as data from "./ot-model.json";
|
|
3
|
+
|
|
4
|
+
const model = Object.values(data);
|
|
5
|
+
|
|
6
|
+
const AssetModel = model.reduce((acc, curr) => {
|
|
7
|
+
const entity = curr.cloudEntity as IAssetEntities;
|
|
8
|
+
acc[entity] = curr as IEntity;
|
|
9
|
+
return acc;
|
|
10
|
+
}, {} as Record<IAssetEntities, IEntity>);
|
|
11
|
+
|
|
12
|
+
export { AssetModel };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"context": "Asset",
|
|
4
|
+
"cloudEntity": "Asset",
|
|
5
|
+
"onpremTable": "Asset",
|
|
6
|
+
"onpremId": "Id",
|
|
7
|
+
"cloudId": "assetId",
|
|
8
|
+
"cloudKey": "assetKey",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"isArray": false,
|
|
12
|
+
"propertyName": "assetCustom",
|
|
13
|
+
"properties": {
|
|
14
|
+
"manufacturer": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"model": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"serialNumber": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"isArray": false,
|
|
27
|
+
"propertyName": "otData",
|
|
28
|
+
"properties": {
|
|
29
|
+
"rackSize": {
|
|
30
|
+
"type": "float"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"properties": {
|
|
36
|
+
"assetId": {
|
|
37
|
+
"onprem": "Id",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"ipAddress": {
|
|
41
|
+
"onprem": "IPAddress",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"ipNumeric": {
|
|
45
|
+
"onprem": "IPNumeric",
|
|
46
|
+
"type": "float"
|
|
47
|
+
},
|
|
48
|
+
"mac": {
|
|
49
|
+
"onprem": "Mac",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"assetTypeId": {
|
|
53
|
+
"onprem": "AssetTypeId",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"assetName": {
|
|
57
|
+
"onprem": "Name",
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"description": {
|
|
61
|
+
"onprem": "Description",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"manufacturer": {
|
|
65
|
+
"onprem": "Manufacturer",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"model": {
|
|
69
|
+
"onprem": "Model",
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"serialNumber": {
|
|
73
|
+
"onprem": "SerialNumber",
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"rackSize": {
|
|
77
|
+
"onprem": "RackSize",
|
|
78
|
+
"type": "float"
|
|
79
|
+
},
|
|
80
|
+
"firstSeen": {
|
|
81
|
+
"onprem": "Firstseen",
|
|
82
|
+
"type": "date-time"
|
|
83
|
+
},
|
|
84
|
+
"lastTried": {
|
|
85
|
+
"onprem": "Lasttried",
|
|
86
|
+
"type": "date-time"
|
|
87
|
+
},
|
|
88
|
+
"lastChanged": {
|
|
89
|
+
"onprem": "LastChanged",
|
|
90
|
+
"type": "date-time"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"lib": ["es6", "es2015", "dom"],
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"outDir": "dist",
|
|
8
|
+
"rootDir": "src",
|
|
9
|
+
"strict": true,
|
|
10
|
+
"types": ["node"],
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"declarationDir": "dist/types",
|
|
13
|
+
"resolveJsonModule": true
|
|
14
|
+
}
|
|
15
|
+
}
|