Skip to content

Commit

Permalink
Merge branch 'develop' into renovate/typescript-eslint-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson authored Mar 16, 2023
2 parents e55be23 + c85d8e1 commit 5c326fb
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .github/actions/install-deps/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Install Dependencies'
description: 'Workflow for installing dependencies'
name: "Install Dependencies"
description: "Workflow for installing dependencies"
runs:
using: "composite"
steps:
Expand All @@ -10,7 +10,7 @@ runs:
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'pnpm'
cache: "pnpm"
- name: Setup CDK
shell: bash
run: |
Expand Down
11 changes: 6 additions & 5 deletions lib/stacks/business.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ export class WasedaTimeBusinessLayer extends BusinessLayer {
this.dataInterface.getEndpoint(DataEndpoint.TIMETABLE),
true,
)
// .addService(
// 'thread',
// this.dataInterface.getEndpoint(DataEndpoint.THREAD),
// true,
// )
.addService(
'thread',
// this.dataInterface.getEndpoint(DataEndpoint.THREAD),
'Anystring',
true,
)
.addService(
'comment',
this.dataInterface.getEndpoint(DataEndpoint.COMMENT),
Expand Down
2 changes: 2 additions & 0 deletions lib/stacks/persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,7 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer {
this.operationInterface.setEndpoint(OperationEndpoint.SYLLABUS, {
[syllabusDataPipeline.processor.stateMachineArn]: 'scraper',
});

this.exportValue(dynamoDatabase.tables[Collection.THREAD].tableName);
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"eslint-import-resolver-node": "0.3.6",
"eslint-import-resolver-typescript": "3.5.2",
"eslint-plugin-import": "2.26.0",
"husky": "8.0.2",
"husky": "8.0.3",
"jest": "29.3.1",
"standard-version": "9.5.0",
"ts-jest": "29.0.3",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions src/lambda/syllabus-scraper/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,16 +221,18 @@
}

modality_enum_map = {
"対面": 0,
"フル対面": 0,
"ハイブリッド(対面/オンライン併用)": 1,
"複合(対面/オンデマンド/リアルタイム配信/課題提出)": 1,
"フルオンデマンド(曜日時限なし)": 2,
"【対面】": 0,
"【対面】ハイブリッド(対面回数半数以上)": 1,
"【非常時】ハイブリッド": 1,
"【オンライン】ハイブリッド(対面回数半数未満)": 1,
"【オンライン】フルオンデマンド": 2,
"【非常時】フルオンデマンド": 2,
"フルオンデマンド(コロナ)": 2,
"フルオンデマンド(既存)": 2,
"オンデマンド(曜日時限あり)": 3,
"オンデマンド": 3,
"リアルタイム配信": 4
"【オンライン】リアルタイム配信": 4,
"【非常時】リアルタイム配信": 4,
}

cron_schedule = ["01-01", "02-01", "02-14", "02-24", "03-01", "03-04", "03-07", "03-10", "03-16", "03-18", "03-21",
Expand Down

0 comments on commit 5c326fb

Please sign in to comment.