-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into regulations-admin/bugfixing-regs
- Loading branch information
Showing
133 changed files
with
1,183 additions
and
2,022 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
import * as testSuites from './test-suites/' | ||
|
||
console.log('Forcing esbuild visit to testSuites:', testSuites) | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
apps/judicial-system/backend/migrations/20240513130819-update-case.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
'use strict' | ||
|
||
const replaceEnum = require('sequelize-replace-enum-postgres').default | ||
|
||
module.exports = { | ||
async up(queryInterface) { | ||
return replaceEnum({ | ||
queryInterface, | ||
tableName: 'case_file', | ||
columnName: 'category', | ||
newValues: [ | ||
'COURT_RECORD', | ||
'RULING', | ||
'COVER_LETTER', | ||
'INDICTMENT', | ||
'CRIMINAL_RECORD', | ||
'COST_BREAKDOWN', | ||
'CASE_FILE', | ||
'PROSECUTOR_APPEAL_BRIEF', | ||
'DEFENDANT_APPEAL_BRIEF', | ||
'PROSECUTOR_APPEAL_BRIEF_CASE_FILE', | ||
'DEFENDANT_APPEAL_BRIEF_CASE_FILE', | ||
'PROSECUTOR_APPEAL_STATEMENT', | ||
'DEFENDANT_APPEAL_STATEMENT', | ||
'PROSECUTOR_APPEAL_STATEMENT_CASE_FILE', | ||
'DEFENDANT_APPEAL_STATEMENT_CASE_FILE', | ||
'PROSECUTOR_APPEAL_CASE_FILE', | ||
'DEFENDANT_APPEAL_CASE_FILE', | ||
'APPEAL_COURT_RECORD', | ||
'APPEAL_RULING', | ||
'CRIMINAL_RECORD_UPDATE', // new value | ||
], | ||
}) | ||
}, | ||
|
||
async down(queryInterface) { | ||
return replaceEnum({ | ||
queryInterface, | ||
tableName: 'case_file', | ||
columnName: 'category', | ||
newValues: [ | ||
'COURT_RECORD', | ||
'RULING', | ||
'COVER_LETTER', | ||
'INDICTMENT', | ||
'CRIMINAL_RECORD', | ||
'COST_BREAKDOWN', | ||
'CASE_FILE', | ||
'PROSECUTOR_APPEAL_BRIEF', | ||
'DEFENDANT_APPEAL_BRIEF', | ||
'PROSECUTOR_APPEAL_BRIEF_CASE_FILE', | ||
'DEFENDANT_APPEAL_BRIEF_CASE_FILE', | ||
'PROSECUTOR_APPEAL_STATEMENT', | ||
'DEFENDANT_APPEAL_STATEMENT', | ||
'PROSECUTOR_APPEAL_STATEMENT_CASE_FILE', | ||
'DEFENDANT_APPEAL_STATEMENT_CASE_FILE', | ||
'PROSECUTOR_APPEAL_CASE_FILE', | ||
'DEFENDANT_APPEAL_CASE_FILE', | ||
'APPEAL_COURT_RECORD', | ||
'APPEAL_RULING', | ||
], | ||
}) | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Completed from '@island.is/judicial-system-web/src/routes/Court/Indictments/Completed/Completed' | ||
|
||
export default Completed |
Oops, something went wrong.