Placements developer guide
    Preparing search index...

    Variable importCurrentAssignmentCohortConst

    importCurrentAssignmentCohort: (
        ...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 }[];
                snapshotDigest: string;
                snapshotId: string;
                sourceRepository: string;
                sourceRevision: string;
                sourceWatermark: string;
                synthetic: true;
                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 }[];
                    snapshotDigest: string;
                    snapshotId: string;
                    sourceRepository: string;
                    sourceRevision: string;
                    sourceWatermark: string;
                    synthetic: true;
                    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 }[];
                  snapshotDigest: string;
                  snapshotId: string;
                  sourceRepository: string;
                  sourceRevision: string;
                  sourceWatermark: string;
                  synthetic: true;
                  transformationRevision: string;
              },
          ]

        Returns Effect<CurrentAssignmentReport, CurrentAssignmentFailure, never>