Placements developer guide
Preparing search index...
@vektorprogrammet/database/placements
importReconciledCurrentAssignmentCohort
Variable importReconciledCurrentAssignmentCohort
Const
importReconciledCurrentAssignmentCohort
:
(
...
args
:
[
sql
:
SqlClient
,
input
:
{
mappings
:
readonly
{
departmentId
:
string
;
personId
:
string
;
schoolId
:
number
;
semesterId
:
string
;
sourceAssignmentId
:
string
;
sourceDepartmentId
:
string
;
sourceSchoolId
:
string
;
sourceSemesterId
:
string
;
sourceUserId
:
string
;
}
[]
;
occurrences
:
readonly
{
occurrenceId
:
string
;
row
:
unknown
}
[]
;
personSnapshotKey
:
string
;
referenceDigest
:
string
;
review
:
{
asOf
:
string
;
assignments
:
readonly
{
active
:
boolean
;
affiliationEvidenceRef
:
string
;
bothBlocksShareDay
?:
true
;
placementEvidenceRef
:
string
;
sourceAssignmentId
:
string
;
sourceRowDigest
:
string
;
}
[]
;
attestedBy
:
string
;
evidenceRef
:
string
;
sourceRevision
:
string
;
sourceSemesterId
:
string
;
sourceWatermark
:
string
;
}
;
snapshotDigest
:
string
;
snapshotId
:
string
;
sourceRepository
:
string
;
sourceRevision
:
string
;
sourceWatermark
:
string
;
synthetic
:
false
;
transformationRevision
:
string
;
}
,
]
,
)
=>
Effect
<
CurrentAssignmentReport
,
CurrentAssignmentFailure
,
never
>
= ...
Type Declaration
(
...
args
:
[
sql
:
SqlClient
,
input
:
{
mappings
:
readonly
{
departmentId
:
string
;
personId
:
string
;
schoolId
:
number
;
semesterId
:
string
;
sourceAssignmentId
:
string
;
sourceDepartmentId
:
string
;
sourceSchoolId
:
string
;
sourceSemesterId
:
string
;
sourceUserId
:
string
;
}
[]
;
occurrences
:
readonly
{
occurrenceId
:
string
;
row
:
unknown
}
[]
;
personSnapshotKey
:
string
;
referenceDigest
:
string
;
review
:
{
asOf
:
string
;
assignments
:
readonly
{
active
:
boolean
;
affiliationEvidenceRef
:
string
;
bothBlocksShareDay
?:
true
;
placementEvidenceRef
:
string
;
sourceAssignmentId
:
string
;
sourceRowDigest
:
string
;
}
[]
;
attestedBy
:
string
;
evidenceRef
:
string
;
sourceRevision
:
string
;
sourceSemesterId
:
string
;
sourceWatermark
:
string
;
}
;
snapshotDigest
:
string
;
snapshotId
:
string
;
sourceRepository
:
string
;
sourceRevision
:
string
;
sourceWatermark
:
string
;
synthetic
:
false
;
transformationRevision
:
string
;
}
,
]
,
)
:
Effect
<
CurrentAssignmentReport
,
CurrentAssignmentFailure
,
never
>
Parameters
...
args
:
[
sql
:
SqlClient
,
input
:
{
mappings
:
readonly
{
departmentId
:
string
;
personId
:
string
;
schoolId
:
number
;
semesterId
:
string
;
sourceAssignmentId
:
string
;
sourceDepartmentId
:
string
;
sourceSchoolId
:
string
;
sourceSemesterId
:
string
;
sourceUserId
:
string
;
}
[]
;
occurrences
:
readonly
{
occurrenceId
:
string
;
row
:
unknown
}
[]
;
personSnapshotKey
:
string
;
referenceDigest
:
string
;
review
:
{
asOf
:
string
;
assignments
:
readonly
{
active
:
boolean
;
affiliationEvidenceRef
:
string
;
bothBlocksShareDay
?:
true
;
placementEvidenceRef
:
string
;
sourceAssignmentId
:
string
;
sourceRowDigest
:
string
;
}
[]
;
attestedBy
:
string
;
evidenceRef
:
string
;
sourceRevision
:
string
;
sourceSemesterId
:
string
;
sourceWatermark
:
string
;
}
;
snapshotDigest
:
string
;
snapshotId
:
string
;
sourceRepository
:
string
;
sourceRevision
:
string
;
sourceWatermark
:
string
;
synthetic
:
false
;
transformationRevision
:
string
;
}
,
]
Returns
Effect
<
CurrentAssignmentReport
,
CurrentAssignmentFailure
,
never
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Placements developer guide
Loading...