Version 3 #40

Merged
danieljsummers merged 67 commits from version-2-3 into main 2023-02-02 23:47:28 +00:00
5 changed files with 7 additions and 64 deletions
Showing only changes of commit a018b6b8f1 - Show all commits

View File

@ -1,12 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs"/>
</ItemGroup>
</Project>

View File

@ -1,4 +0,0 @@

// For more information see https://aka.ms/fsharp-console-apps
printfn "Hello from F#"

View File

@ -36,13 +36,6 @@ const routes: Array<RouteRecordRaw> = [
component: () => import(/* webpackChunkName: "account" */ "../views/citizen/AccountProfile.vue"), component: () => import(/* webpackChunkName: "account" */ "../views/citizen/AccountProfile.vue"),
meta: { auth: true, title: "Account Profile" } meta: { auth: true, title: "Account Profile" }
}, },
// Job Listing URLs
{
path: "/help-wanted",
name: "HelpWanted",
component: () => import(/* webpackChunkName: "joblist" */ "../views/listing/HelpWanted.vue"),
meta: { auth: true, title: "Help Wanted" }
},
// Success Story URLs // Success Story URLs
{ {
path: "/success-story/list", path: "/success-story/list",

View File

@ -2,7 +2,6 @@
module JobsJobsJobs.Domain.SharedTypes module JobsJobsJobs.Domain.SharedTypes
open JobsJobsJobs.Domain open JobsJobsJobs.Domain
open Microsoft.Extensions.Options
open NodaTime open NodaTime
/// The data to add or update an other contact /// The data to add or update an other contact
@ -46,29 +45,8 @@ type AccountProfileForm =
} }
/// The data required to register a new citizen (user)
type CitizenRegistrationForm =
{ /// The first name of the new citizen
FirstName : string
/// The last name of the new citizen
LastName : string
/// The display name for the new citizen
DisplayName : string option
/// The citizen's e-mail address
Email : string
/// The citizen's password
Password : string
/// Confirmation of the citizen's password
ConfirmPassword : string
}
/// The data needed to display a listing /// The data needed to display a listing
[<NoComparison; NoEquality>]
type ListingForView = type ListingForView =
{ /// The listing itself { /// The listing itself
Listing : Listing Listing : Listing
@ -98,19 +76,6 @@ type ListingSearchForm =
} }
/// A successful logon
type LogOnSuccess =
{ /// The JSON Web Token (JWT) to use for API access
Jwt : string
/// The ID of the logged-in citizen (as a string)
CitizenId : string
/// The name of the logged-in citizen
Name : string
}
/// The various ways profiles can be searched /// The various ways profiles can be searched
[<CLIMutable; NoComparison; NoEquality>] [<CLIMutable; NoComparison; NoEquality>]
type ProfileSearchForm = type ProfileSearchForm =
@ -182,6 +147,7 @@ type PublicSearchForm =
/// A public profile search result /// A public profile search result
[<NoComparison; NoEquality>]
type PublicSearchResult = type PublicSearchResult =
{ /// The name of the continent on which the citizen resides { /// The name of the continent on which the citizen resides
Continent : string Continent : string

View File

@ -4,7 +4,7 @@ open NodaTime
open System open System
/// A user of Jobs, Jobs, Jobs; a citizen of Gitmo Nation /// A user of Jobs, Jobs, Jobs; a citizen of Gitmo Nation
[<CLIMutable; NoComparison; NoEquality>] [<NoComparison; NoEquality>]
type Citizen = type Citizen =
{ /// The ID of the user { /// The ID of the user
Id : CitizenId Id : CitizenId
@ -60,7 +60,7 @@ module Citizen =
/// A continent /// A continent
[<CLIMutable; NoComparison; NoEquality>] [<NoComparison; NoEquality>]
type Continent = type Continent =
{ /// The ID of the continent { /// The ID of the continent
Id : ContinentId Id : ContinentId
@ -80,7 +80,7 @@ module Continent =
/// A job listing /// A job listing
[<CLIMutable; NoComparison; NoEquality>] [<NoComparison; NoEquality>]
type Listing = type Listing =
{ /// The ID of the job listing { /// The ID of the job listing
Id : ListingId Id : ListingId
@ -179,7 +179,7 @@ module SecurityInfo =
/// A job seeker profile /// A job seeker profile
[<CLIMutable; NoComparison; NoEquality>] [<NoComparison; NoEquality>]
type Profile = type Profile =
{ /// The ID of the citizen to whom this profile belongs { /// The ID of the citizen to whom this profile belongs
Id : CitizenId Id : CitizenId
@ -243,7 +243,7 @@ module Profile =
/// A record of success finding employment /// A record of success finding employment
[<CLIMutable; NoComparison; NoEquality>] [<NoComparison; NoEquality>]
type Success = type Success =
{ /// The ID of the success report { /// The ID of the success report
Id : SuccessId Id : SuccessId