@fossa-app/bridge 0.1.0

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 (64) hide show
  1. package/.build.ps1 +307 -0
  2. package/.github/dependabot.yml +38 -0
  3. package/.github/release-drafter.yml +52 -0
  4. package/.github/workflows/cicd.yml +106 -0
  5. package/.github/workflows/lint.yml +34 -0
  6. package/.github/workflows/release-drafter.yml +27 -0
  7. package/Fossa.Bridge.slnx +8 -0
  8. package/LICENSE +21 -0
  9. package/README.md +5 -0
  10. package/build.ps1 +11 -0
  11. package/dotnet-tools.json +27 -0
  12. package/format.ps1 +11 -0
  13. package/gig.ps1 +16 -0
  14. package/global.json +6 -0
  15. package/lint.ps1 +20 -0
  16. package/pack.ps1 +11 -0
  17. package/package.json +21 -0
  18. package/publish.ps1 +11 -0
  19. package/restore.ps1 +11 -0
  20. package/src/Fossa.Bridge/Fossa.Bridge.fsproj +17 -0
  21. package/src/Fossa.Bridge/Models/ApiModels.fs +136 -0
  22. package/src/Fossa.Bridge/Services/UrlHelpers.fs +18 -0
  23. package/src/Fossa.Bridge/bin/Release/net8.0/Fossa.Bridge.deps.json +98 -0
  24. package/src/Fossa.Bridge/bin/Release/net8.0/Fossa.Bridge.fable-temp.deps.json +41 -0
  25. package/src/Fossa.Bridge/bin/Release/net8.0/Fossa.Bridge.xml +6 -0
  26. package/src/Fossa.Bridge/obj/Fossa.Bridge.fable-temp.csproj.nuget.dgspec.json +81 -0
  27. package/src/Fossa.Bridge/obj/Fossa.Bridge.fable-temp.csproj.nuget.g.props +26 -0
  28. package/src/Fossa.Bridge/obj/Fossa.Bridge.fable-temp.csproj.nuget.g.targets +2 -0
  29. package/src/Fossa.Bridge/obj/Fossa.Bridge.fsproj.nuget.dgspec.json +84 -0
  30. package/src/Fossa.Bridge/obj/Fossa.Bridge.fsproj.nuget.g.props +30 -0
  31. package/src/Fossa.Bridge/obj/Fossa.Bridge.fsproj.nuget.g.targets +2 -0
  32. package/src/Fossa.Bridge/obj/Release/Fossa.Bridge.0.1.0.nuspec +20 -0
  33. package/src/Fossa.Bridge/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +4 -0
  34. package/src/Fossa.Bridge/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.fs +3 -0
  35. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.AssemblyInfo.fs +18 -0
  36. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fable-temp.AssemblyInfo.cs +23 -0
  37. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fable-temp.GeneratedMSBuildEditorConfig.editorconfig +17 -0
  38. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fable-temp.csproj.FileListAbsolute.txt +4 -0
  39. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.fsproj.FileListAbsolute.txt +14 -0
  40. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.sourcelink.json +1 -0
  41. package/src/Fossa.Bridge/obj/Release/net8.0/Fossa.Bridge.xml +6 -0
  42. package/src/Fossa.Bridge/obj/Release/net8.0/ILLink.Substitutions.xml +15 -0
  43. package/src/Fossa.Bridge/obj/project.assets.json +229 -0
  44. package/test.ps1 +11 -0
  45. package/tests/Fossa.Bridge.Tests/Fossa.Bridge.Tests.fsproj +19 -0
  46. package/tests/Fossa.Bridge.Tests/Main.fs +7 -0
  47. package/tests/Fossa.Bridge.Tests/UrlHelpersTests.fs +33 -0
  48. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/.msCoverageSourceRootsMapping_Fossa.Bridge.Tests +0 -0
  49. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/Fossa.Bridge.Tests.deps.json +806 -0
  50. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/Fossa.Bridge.Tests.runtimeconfig.json +14 -0
  51. package/tests/Fossa.Bridge.Tests/bin/Release/net8.0/Fossa.Bridge.xml +6 -0
  52. package/tests/Fossa.Bridge.Tests/obj/Fossa.Bridge.Tests.fsproj.nuget.dgspec.json +174 -0
  53. package/tests/Fossa.Bridge.Tests/obj/Fossa.Bridge.Tests.fsproj.nuget.g.props +31 -0
  54. package/tests/Fossa.Bridge.Tests/obj/Fossa.Bridge.Tests.fsproj.nuget.g.targets +11 -0
  55. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.fs +3 -0
  56. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/Fossa.Br.E9949494.Up2Date +0 -0
  57. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/Fossa.Bridge.Tests.AssemblyInfo.fs +17 -0
  58. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/Fossa.Bridge.Tests.fsproj.FileListAbsolute.txt +191 -0
  59. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/Fossa.Bridge.Tests.sourcelink.json +1 -0
  60. package/tests/Fossa.Bridge.Tests/obj/Release/net8.0/ILLink.Substitutions.xml +15 -0
  61. package/tests/Fossa.Bridge.Tests/obj/project.assets.json +2018 -0
  62. package/trigger.ps1 +32 -0
  63. package/tsconfig.json +16 -0
  64. package/version.ps1 +11 -0
package/lint.ps1 ADDED
@@ -0,0 +1,20 @@
1
+ docker run --rm `
2
+ -e CREATE_LOG_FILE=true `
3
+ -e DEFAULT_BRANCH=main `
4
+ -e ENABLE_GITHUB_ACTIONS_GROUP_TITLE=true `
5
+ -e FIX_ENV=true `
6
+ -e FIX_JAVASCRIPT_ES=true `
7
+ -e FIX_JAVASCRIPT_PRETTIER=true `
8
+ -e FIX_JSON=true `
9
+ -e FIX_JSON_PRETTIER=true `
10
+ -e FIX_MARKDOWN=true `
11
+ -e FIX_MARKDOWN_PRETTIER=true `
12
+ -e FIX_NATURAL_LANGUAGE=true `
13
+ -e FIX_SHELL_SHFMT=true `
14
+ -e FIX_YAML_PRETTIER=true `
15
+ -e LOG_LEVEL=DEBUG `
16
+ -e RUN_LOCAL=true `
17
+ -e VALIDATE_JSCPD=false `
18
+ -e VALIDATE_ALL_CODEBASE=true `
19
+ -v .:/tmp/lint `
20
+ ghcr.io/super-linter/super-linter:latest
package/pack.ps1 ADDED
@@ -0,0 +1,11 @@
1
+ [CmdletBinding()]
2
+ param (
3
+ [Parameter()]
4
+ [string]
5
+ $Version,
6
+ [Parameter()]
7
+ [string]
8
+ $Instance
9
+ )
10
+
11
+ .\trigger.ps1 -Task Pack -Instance $Instance -Version $Version
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "@fossa-app/bridge",
3
+ "version": "0.1.0",
4
+ "description": "Shared Domain Models and DTOs for Fossa UI and API",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc"
9
+ },
10
+ "keywords": [
11
+ "fossa",
12
+ "fsharp",
13
+ "fable"
14
+ ],
15
+ "author": "",
16
+ "license": "MIT",
17
+ "devDependencies": {
18
+ "@types/node": "^25.3.0",
19
+ "typescript": "^5.4.5"
20
+ }
21
+ }
package/publish.ps1 ADDED
@@ -0,0 +1,11 @@
1
+ [CmdletBinding()]
2
+ param (
3
+ [Parameter()]
4
+ [string]
5
+ $Version,
6
+ [Parameter()]
7
+ [string]
8
+ $Instance
9
+ )
10
+
11
+ .\trigger.ps1 -Task Publish -Instance $Instance -Version $Version
package/restore.ps1 ADDED
@@ -0,0 +1,11 @@
1
+ [CmdletBinding()]
2
+ param (
3
+ [Parameter()]
4
+ [string]
5
+ $Version,
6
+ [Parameter()]
7
+ [string]
8
+ $Instance
9
+ )
10
+
11
+ .\trigger.ps1 -Task Restore -Instance $Instance -Version $Version
@@ -0,0 +1,17 @@
1
+ <Project Sdk="Microsoft.NET.Sdk">
2
+ <PropertyGroup>
3
+ <TargetFramework>net8.0</TargetFramework>
4
+ <GenerateDocumentationFile>true</GenerateDocumentationFile>
5
+ <PackageId>Fossa.Bridge</PackageId>
6
+ <Version>1.0.0</Version>
7
+ <Authors>TIKSN</Authors>
8
+ <Description>Shared Domain Models and DTOs for Fossa UI and API</Description>
9
+ </PropertyGroup>
10
+ <ItemGroup>
11
+ <Compile Include="Models\ApiModels.fs" />
12
+ <Compile Include="Services\UrlHelpers.fs" />
13
+ </ItemGroup>
14
+ <ItemGroup>
15
+ <PackageReference Include="Fable.Core" Version="4.5.0" />
16
+ </ItemGroup>
17
+ </Project>
@@ -0,0 +1,136 @@
1
+ namespace Fossa.Bridge.Models
2
+
3
+ open System
4
+ open System.Collections.Generic
5
+
6
+ type AddressModel =
7
+ { Line1: string
8
+ Line2: string
9
+ City: string
10
+ Subdivision: string
11
+ PostalCode: string
12
+ CountryCode: string }
13
+
14
+ type BranchModificationModel =
15
+ { Name: string
16
+ TimeZoneId: string
17
+ Address: AddressModel }
18
+
19
+ type BranchQueryRequestModel =
20
+ { Id: IReadOnlyList<int64>
21
+ Search: string
22
+ PageNumber: Nullable<int>
23
+ PageSize: Nullable<int> }
24
+
25
+ type BranchRetrievalModel =
26
+ { Id: int64
27
+ CompanyId: int64
28
+ Name: string
29
+ TimeZoneId: string
30
+ Address: AddressModel }
31
+
32
+ type CompanyEntitlementsModel =
33
+ { CompanyId: int64
34
+ MaximumBranchCount: int
35
+ MaximumEmployeeCount: int
36
+ MaximumDepartmentCount: int }
37
+
38
+ type CompanyModificationModel = { Name: string; CountryCode: string }
39
+
40
+ type CompanyRetrievalModel =
41
+ { Id: int64
42
+ Name: string
43
+ CountryCode: string }
44
+
45
+ type CompanySettingsModificationModel = { ColorSchemeId: string }
46
+
47
+ type CompanySettingsRetrievalModel =
48
+ { Id: int64
49
+ CompanyId: int64
50
+ ColorSchemeId: string }
51
+
52
+ type CountryModel = { Name: string; Code: string }
53
+
54
+ type DepartmentModificationModel =
55
+ { Name: string
56
+ ParentDepartmentId: Nullable<int64>
57
+ ManagerId: Nullable<int64> }
58
+
59
+ type DepartmentQueryRequestModel =
60
+ { Id: IReadOnlyList<int64>
61
+ Search: string
62
+ PageNumber: Nullable<int>
63
+ PageSize: Nullable<int> }
64
+
65
+ type DepartmentRetrievalModel =
66
+ { Id: int64
67
+ Name: string
68
+ ParentDepartmentId: Nullable<int64>
69
+ ManagerId: int64 }
70
+
71
+ type EmployeeManagementModel =
72
+ { AssignedBranchId: Nullable<int64>
73
+ AssignedDepartmentId: Nullable<int64>
74
+ ReportsToId: Nullable<int64>
75
+ JobTitle: string }
76
+
77
+ type EmployeeModificationModel =
78
+ { FirstName: string
79
+ LastName: string
80
+ FullName: string }
81
+
82
+ type EmployeePagingRequestModel =
83
+ { Search: string
84
+ PageNumber: Nullable<int>
85
+ PageSize: Nullable<int> }
86
+
87
+ type EmployeeQueryRequestModel =
88
+ { Id: IReadOnlyList<int64>
89
+ Search: string
90
+ PageNumber: Nullable<int>
91
+ PageSize: Nullable<int>
92
+ ReportsToId: Nullable<int64>
93
+ TopLevelOnly: Nullable<bool> }
94
+
95
+ type EmployeeRetrievalModel =
96
+ { Id: int64
97
+ CompanyId: int64
98
+ AssignedBranchId: Nullable<int64>
99
+ AssignedDepartmentId: Nullable<int64>
100
+ ReportsToId: Nullable<int64>
101
+ JobTitle: string
102
+ FirstName: string
103
+ LastName: string
104
+ FullName: string }
105
+
106
+ type TimeZoneModel =
107
+ { Id: string
108
+ Name: string
109
+ CountryCode: string
110
+ CurrentOffset: TimeSpan }
111
+
112
+ type PartyModel = { LongName: string; ShortName: string }
113
+
114
+ type LicenseTermsModel =
115
+ { Licensor: PartyModel
116
+ Licensee: PartyModel
117
+ NotBefore: DateTimeOffset
118
+ NotAfter: DateTimeOffset }
119
+
120
+ type LicenseResponseModel<'TEntitlementsModel> =
121
+ { Terms: LicenseTermsModel
122
+ Entitlements: 'TEntitlementsModel }
123
+
124
+ type PagingResponseModel<'T> =
125
+ { PageNumber: Nullable<int>
126
+ PageSize: Nullable<int>
127
+ Items: IReadOnlyCollection<'T>
128
+ TotalItems: Nullable<int64>
129
+ TotalPages: Nullable<int64> }
130
+
131
+ type SystemEntitlementsModel =
132
+ { EnvironmentName: string
133
+ EnvironmentKind: string
134
+ Countries: IReadOnlyList<CountryModel>
135
+ TimeZones: IReadOnlyList<TimeZoneModel>
136
+ MaximumCompanyCount: int }
@@ -0,0 +1,18 @@
1
+ module Fossa.Bridge.Services.UrlHelpers
2
+
3
+ let private suffixMappings =
4
+ [ ".dev.localhost:4211", ".dev.localhost:5210"
5
+ ".test.localhost:4210", ".test.localhost:5211"
6
+ ".test.localhost:4211", ".test.localhost:5211"
7
+ ".localhost:4210", ".localhost:5210" ]
8
+
9
+ let getBackendOrigin (frontendOrigin: string) : string =
10
+ let mapping =
11
+ suffixMappings
12
+ |> List.tryFind (fun (frontendSuffix, _) -> frontendOrigin.EndsWith(frontendSuffix))
13
+
14
+ match mapping with
15
+ | Some(frontendSuffix, backendSuffix) ->
16
+ let prefixLength = frontendOrigin.Length - frontendSuffix.Length
17
+ frontendOrigin.Substring(0, prefixLength) + backendSuffix
18
+ | None -> frontendOrigin
@@ -0,0 +1,98 @@
1
+ {
2
+ "runtimeTarget": {
3
+ "name": ".NETCoreApp,Version=v8.0",
4
+ "signature": ""
5
+ },
6
+ "compilationOptions": {},
7
+ "targets": {
8
+ ".NETCoreApp,Version=v8.0": {
9
+ "Fossa.Bridge/0.1.0": {
10
+ "dependencies": {
11
+ "FSharp.Core": "10.0.103",
12
+ "Fable.Core": "4.5.0"
13
+ },
14
+ "runtime": {
15
+ "Fossa.Bridge.dll": {}
16
+ }
17
+ },
18
+ "Fable.Core/4.5.0": {
19
+ "runtime": {
20
+ "lib/netstandard2.0/Fable.Core.dll": {
21
+ "assemblyVersion": "4.5.0.0",
22
+ "fileVersion": "4.5.0.0"
23
+ }
24
+ }
25
+ },
26
+ "FSharp.Core/10.0.103": {
27
+ "runtime": {
28
+ "lib/netstandard2.1/FSharp.Core.dll": {
29
+ "assemblyVersion": "10.0.0.0",
30
+ "fileVersion": "10.1.326.7603"
31
+ }
32
+ },
33
+ "resources": {
34
+ "lib/netstandard2.1/cs/FSharp.Core.resources.dll": {
35
+ "locale": "cs"
36
+ },
37
+ "lib/netstandard2.1/de/FSharp.Core.resources.dll": {
38
+ "locale": "de"
39
+ },
40
+ "lib/netstandard2.1/es/FSharp.Core.resources.dll": {
41
+ "locale": "es"
42
+ },
43
+ "lib/netstandard2.1/fr/FSharp.Core.resources.dll": {
44
+ "locale": "fr"
45
+ },
46
+ "lib/netstandard2.1/it/FSharp.Core.resources.dll": {
47
+ "locale": "it"
48
+ },
49
+ "lib/netstandard2.1/ja/FSharp.Core.resources.dll": {
50
+ "locale": "ja"
51
+ },
52
+ "lib/netstandard2.1/ko/FSharp.Core.resources.dll": {
53
+ "locale": "ko"
54
+ },
55
+ "lib/netstandard2.1/pl/FSharp.Core.resources.dll": {
56
+ "locale": "pl"
57
+ },
58
+ "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll": {
59
+ "locale": "pt-BR"
60
+ },
61
+ "lib/netstandard2.1/ru/FSharp.Core.resources.dll": {
62
+ "locale": "ru"
63
+ },
64
+ "lib/netstandard2.1/tr/FSharp.Core.resources.dll": {
65
+ "locale": "tr"
66
+ },
67
+ "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll": {
68
+ "locale": "zh-Hans"
69
+ },
70
+ "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll": {
71
+ "locale": "zh-Hant"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "libraries": {
78
+ "Fossa.Bridge/0.1.0": {
79
+ "type": "project",
80
+ "serviceable": false,
81
+ "sha512": ""
82
+ },
83
+ "Fable.Core/4.5.0": {
84
+ "type": "package",
85
+ "serviceable": true,
86
+ "sha512": "sha512-ZcX8XN5sQZGCbrS8VYnsa/ynhrCBfpDyqDkTl33GTXOpgfKibxoq0+W0hCSbRzuukVNoLtqGL/B6+8yTNDXbNA==",
87
+ "path": "fable.core/4.5.0",
88
+ "hashPath": "fable.core.4.5.0.nupkg.sha512"
89
+ },
90
+ "FSharp.Core/10.0.103": {
91
+ "type": "package",
92
+ "serviceable": true,
93
+ "sha512": "sha512-GfQInb74eDh9JZ8wx4+t/lOrH1uRqZvneuViVJ8CwbQwmtyyZoeGuzRayL01MNAsm8B6eRenWwJThu01EFPeKg==",
94
+ "path": "fsharp.core/10.0.103",
95
+ "hashPath": "fsharp.core.10.0.103.nupkg.sha512"
96
+ }
97
+ }
98
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "runtimeTarget": {
3
+ "name": ".NETCoreApp,Version=v8.0",
4
+ "signature": ""
5
+ },
6
+ "compilationOptions": {},
7
+ "targets": {
8
+ ".NETCoreApp,Version=v8.0": {
9
+ "Fossa.Bridge.fable-temp/1.0.0": {
10
+ "dependencies": {
11
+ "Fable.Core": "4.5.0"
12
+ },
13
+ "runtime": {
14
+ "Fossa.Bridge.fable-temp.dll": {}
15
+ }
16
+ },
17
+ "Fable.Core/4.5.0": {
18
+ "runtime": {
19
+ "lib/netstandard2.0/Fable.Core.dll": {
20
+ "assemblyVersion": "4.5.0.0",
21
+ "fileVersion": "4.5.0.0"
22
+ }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "libraries": {
28
+ "Fossa.Bridge.fable-temp/1.0.0": {
29
+ "type": "project",
30
+ "serviceable": false,
31
+ "sha512": ""
32
+ },
33
+ "Fable.Core/4.5.0": {
34
+ "type": "package",
35
+ "serviceable": true,
36
+ "sha512": "sha512-ZcX8XN5sQZGCbrS8VYnsa/ynhrCBfpDyqDkTl33GTXOpgfKibxoq0+W0hCSbRzuukVNoLtqGL/B6+8yTNDXbNA==",
37
+ "path": "fable.core/4.5.0",
38
+ "hashPath": "fable.core.4.5.0.nupkg.sha512"
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <doc>
3
+ <assembly><name>Fossa.Bridge</name></assembly>
4
+ <members>
5
+ </members>
6
+ </doc>
@@ -0,0 +1,81 @@
1
+ {
2
+ "format": 1,
3
+ "restore": {
4
+ "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fable-temp.csproj": {}
5
+ },
6
+ "projects": {
7
+ "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fable-temp.csproj": {
8
+ "version": "1.0.0",
9
+ "restore": {
10
+ "projectUniqueName": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fable-temp.csproj",
11
+ "projectName": "Fossa.Bridge",
12
+ "projectPath": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fable-temp.csproj",
13
+ "packagesPath": "C:\\Users\\tiksn\\.nuget\\packages\\",
14
+ "outputPath": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\obj\\",
15
+ "projectStyle": "PackageReference",
16
+ "fallbackFolders": [
17
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
18
+ ],
19
+ "configFilePaths": [
20
+ "C:\\Users\\tiksn\\AppData\\Roaming\\NuGet\\NuGet.Config",
21
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
22
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
23
+ ],
24
+ "originalTargetFrameworks": [
25
+ "net8.0"
26
+ ],
27
+ "sources": {
28
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
29
+ "C:\\Program Files\\dotnet\\library-packs": {},
30
+ "C:\\Users\\tiksn\\.nuget\\localpackages": {},
31
+ "https://api.nuget.org/v3/index.json": {}
32
+ },
33
+ "frameworks": {
34
+ "net8.0": {
35
+ "targetAlias": "net8.0",
36
+ "projectReferences": {}
37
+ }
38
+ },
39
+ "warningProperties": {
40
+ "warnAsError": [
41
+ "NU1605"
42
+ ]
43
+ },
44
+ "restoreAuditProperties": {
45
+ "enableAudit": "true",
46
+ "auditLevel": "low",
47
+ "auditMode": "direct"
48
+ },
49
+ "SdkAnalysisLevel": "10.0.100"
50
+ },
51
+ "frameworks": {
52
+ "net8.0": {
53
+ "targetAlias": "net8.0",
54
+ "dependencies": {
55
+ "Fable.Core": {
56
+ "target": "Package",
57
+ "version": "[4.5.0, )"
58
+ }
59
+ },
60
+ "imports": [
61
+ "net461",
62
+ "net462",
63
+ "net47",
64
+ "net471",
65
+ "net472",
66
+ "net48",
67
+ "net481"
68
+ ],
69
+ "assetTargetFallback": true,
70
+ "warn": true,
71
+ "frameworkReferences": {
72
+ "Microsoft.NETCore.App": {
73
+ "privateAssets": "all"
74
+ }
75
+ },
76
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.103/PortableRuntimeIdentifierGraph.json"
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,26 @@
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)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
8
+ <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\tiksn\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
9
+ <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
11
+ </PropertyGroup>
12
+ <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
+ <SourceRoot Include="C:\Users\tiksn\.nuget\packages\" />
14
+ <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
15
+ </ItemGroup>
16
+ <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
17
+ <Content Include="$(NuGetPackageRoot)fable.core\4.5.0\contentFiles\any\netstandard2.0\CHANGELOG.md" Condition="Exists('$(NuGetPackageRoot)fable.core\4.5.0\contentFiles\any\netstandard2.0\CHANGELOG.md')">
18
+ <NuGetPackageId>Fable.Core</NuGetPackageId>
19
+ <NuGetPackageVersion>4.5.0</NuGetPackageVersion>
20
+ <NuGetItemType>Content</NuGetItemType>
21
+ <Pack>false</Pack>
22
+ <Private>False</Private>
23
+ <Link>CHANGELOG.md</Link>
24
+ </Content>
25
+ </ItemGroup>
26
+ </Project>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
@@ -0,0 +1,84 @@
1
+ {
2
+ "format": 1,
3
+ "restore": {
4
+ "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fsproj": {}
5
+ },
6
+ "projects": {
7
+ "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fsproj": {
8
+ "version": "1.0.0",
9
+ "restore": {
10
+ "projectUniqueName": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fsproj",
11
+ "projectName": "Fossa.Bridge",
12
+ "projectPath": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\Fossa.Bridge.fsproj",
13
+ "packagesPath": "C:\\Users\\tiksn\\.nuget\\packages\\",
14
+ "outputPath": "D:\\GitHub\\fossa-app\\Bridge\\src\\Fossa.Bridge\\obj\\",
15
+ "projectStyle": "PackageReference",
16
+ "fallbackFolders": [
17
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
18
+ ],
19
+ "configFilePaths": [
20
+ "C:\\Users\\tiksn\\AppData\\Roaming\\NuGet\\NuGet.Config",
21
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
22
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
23
+ ],
24
+ "originalTargetFrameworks": [
25
+ "net8.0"
26
+ ],
27
+ "sources": {
28
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
29
+ "C:\\Program Files\\dotnet\\library-packs": {},
30
+ "C:\\Program Files\\dotnet\\sdk\\10.0.103\\FSharp\\library-packs": {},
31
+ "C:\\Users\\tiksn\\.nuget\\localpackages": {},
32
+ "https://api.nuget.org/v3/index.json": {}
33
+ },
34
+ "frameworks": {
35
+ "net8.0": {
36
+ "targetAlias": "net8.0",
37
+ "projectReferences": {}
38
+ }
39
+ },
40
+ "restoreAuditProperties": {
41
+ "enableAudit": "true",
42
+ "auditLevel": "low",
43
+ "auditMode": "direct"
44
+ },
45
+ "SdkAnalysisLevel": "10.0.100"
46
+ },
47
+ "frameworks": {
48
+ "net8.0": {
49
+ "targetAlias": "net8.0",
50
+ "dependencies": {
51
+ "FSharp.Core": {
52
+ "include": "Runtime, Compile, Build, Native, Analyzers, BuildTransitive",
53
+ "target": "Package",
54
+ "version": "[10.0.103, )",
55
+ "generatePathProperty": true
56
+ },
57
+ "Fable.Core": {
58
+ "target": "Package",
59
+ "version": "[4.5.0, )",
60
+ "generatePathProperty": true
61
+ }
62
+ },
63
+ "imports": [
64
+ "net461",
65
+ "net462",
66
+ "net47",
67
+ "net471",
68
+ "net472",
69
+ "net48",
70
+ "net481"
71
+ ],
72
+ "assetTargetFallback": true,
73
+ "warn": true,
74
+ "frameworkReferences": {
75
+ "Microsoft.NETCore.App": {
76
+ "privateAssets": "all"
77
+ }
78
+ },
79
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.103/PortableRuntimeIdentifierGraph.json"
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
@@ -0,0 +1,30 @@
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)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
8
+ <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\tiksn\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
9
+ <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
11
+ </PropertyGroup>
12
+ <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
+ <SourceRoot Include="C:\Users\tiksn\.nuget\packages\" />
14
+ <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
15
+ </ItemGroup>
16
+ <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
17
+ <Content Include="$(NuGetPackageRoot)fable.core\4.5.0\contentFiles\any\netstandard2.0\CHANGELOG.md" Condition="Exists('$(NuGetPackageRoot)fable.core\4.5.0\contentFiles\any\netstandard2.0\CHANGELOG.md')">
18
+ <NuGetPackageId>Fable.Core</NuGetPackageId>
19
+ <NuGetPackageVersion>4.5.0</NuGetPackageVersion>
20
+ <NuGetItemType>Content</NuGetItemType>
21
+ <Pack>false</Pack>
22
+ <Private>False</Private>
23
+ <Link>CHANGELOG.md</Link>
24
+ </Content>
25
+ </ItemGroup>
26
+ <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
27
+ <PkgFSharp_Core Condition=" '$(PkgFSharp_Core)' == '' ">C:\Users\tiksn\.nuget\packages\fsharp.core\10.0.103</PkgFSharp_Core>
28
+ <PkgFable_Core Condition=" '$(PkgFable_Core)' == '' ">C:\Users\tiksn\.nuget\packages\fable.core\4.5.0</PkgFable_Core>
29
+ </PropertyGroup>
30
+ </Project>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3
+ <metadata>
4
+ <id>Fossa.Bridge</id>
5
+ <version>0.1.0</version>
6
+ <authors>TIKSN</authors>
7
+ <description>Shared Domain Models and DTOs for Fossa UI and API</description>
8
+ <repository type="git" commit="d8934b3e09ebd1d9bdfe9ffc6232814f28c8630f" />
9
+ <dependencies>
10
+ <group targetFramework="net8.0">
11
+ <dependency id="FSharp.Core" version="10.0.103" exclude="Build,Analyzers" />
12
+ <dependency id="Fable.Core" version="4.5.0" exclude="Build,Analyzers" />
13
+ </group>
14
+ </dependencies>
15
+ </metadata>
16
+ <files>
17
+ <file src="D:\GitHub\fossa-app\Bridge\src\Fossa.Bridge\bin\Release\net8.0\Fossa.Bridge.dll" target="lib\net8.0\Fossa.Bridge.dll" />
18
+ <file src="D:\GitHub\fossa-app\Bridge\src\Fossa.Bridge\bin\Release\net8.0\Fossa.Bridge.xml" target="lib\net8.0\Fossa.Bridge.xml" />
19
+ </files>
20
+ </package>
@@ -0,0 +1,4 @@
1
+ // <autogenerated />
2
+ using System;
3
+ using System.Reflection;
4
+ [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
@@ -0,0 +1,3 @@
1
+ namespace Microsoft.BuildSettings
2
+ [<System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName=".NET 8.0")>]
3
+ do ()