Created
July 30, 2018 13:20
-
-
Save tsuyukimakoto/e781d8f44c8619a59c3befbdfc34e082 to your computer and use it in GitHub Desktop.
ランチチーム分割(当たり付き)を作った話 ref: https://qiita.com/tsuyukimakoto/items/1dddbb9525ac50f4c014
This file contains hidden or 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
. | |
├── appsscript.json | |
├── config.service.ts ← 設定を扱う。ProeprtyServiceをここに閉じ込めている | |
├── constants.ts | |
├── index.ts ← エントリーポイント | |
├── models.ts ← 型定義。ここじゃない気がしている | |
├── storage.service.ts ← データを扱う。SpreadSheetはここに閉じ込めている | |
└── utils.ts ← バグりがちなロジックを入れて、主にこのファイルをテストしている |
This file contains hidden or 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
let root_folder = DriveApp.getRootFolder() | |
let spreadsheet_file = DriveApp.getFileById(spreadsheet.getId()) | |
folder.addFile(spreadsheet_file) | |
root_folder.removeFile(spreadsheet_file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment