mdjournal 1.0.15 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +26 -0
- package/README.md +290 -164
- package/dist/README.md +335 -0
- package/dist/client/assets/index-CWshDATd.js +402 -0
- package/dist/client/dist/assets/index-CWshDATd.js +402 -0
- package/dist/client/dist/index.html +1 -1
- package/dist/client/index.html +1 -1
- package/dist/docs/api-reference.html +2295 -0
- package/dist/docs/config-spec.md +322 -0
- package/dist/docs/extension-spec.md +676 -0
- package/dist/docs/index.md +261 -0
- package/dist/docs/integration-spec.md +518 -0
- package/dist/docs/markdown-format-spec.md +779 -0
- package/dist/docs/openapi.yaml +1009 -0
- package/dist/docs/requirements.md +837 -0
- package/dist/docs/screenshot.png +0 -0
- package/dist/packages/contract/mdjournal/domains/CalendarApi.d.ts +19 -0
- package/dist/packages/contract/mdjournal/domains/CalendarApi.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/domains/CalendarApi.js +7 -0
- package/dist/packages/contract/mdjournal/domains/CalendarApi.js.map +1 -0
- package/dist/packages/contract/mdjournal/domains/ConfigApi.d.ts +29 -0
- package/dist/packages/contract/mdjournal/domains/ConfigApi.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/domains/ConfigApi.js +7 -0
- package/dist/packages/contract/mdjournal/domains/ConfigApi.js.map +1 -0
- package/dist/packages/contract/mdjournal/domains/GitApi.d.ts +14 -0
- package/dist/packages/contract/mdjournal/domains/GitApi.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/domains/GitApi.js +7 -0
- package/dist/packages/contract/mdjournal/domains/GitApi.js.map +1 -0
- package/dist/packages/contract/mdjournal/domains/ReportApi.d.ts +24 -0
- package/dist/packages/contract/mdjournal/domains/ReportApi.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/domains/ReportApi.js +7 -0
- package/dist/packages/contract/mdjournal/domains/ReportApi.js.map +1 -0
- package/dist/packages/contract/mdjournal/domains/index.d.ts +24 -0
- package/dist/packages/contract/mdjournal/domains/index.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/domains/index.js +7 -0
- package/dist/packages/contract/mdjournal/domains/index.js.map +1 -0
- package/dist/packages/contract/mdjournal/errors/index.d.ts +19 -0
- package/dist/packages/contract/mdjournal/errors/index.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/errors/index.js +29 -0
- package/dist/packages/contract/mdjournal/errors/index.js.map +1 -0
- package/dist/packages/contract/mdjournal/index.d.ts +8 -0
- package/dist/packages/contract/mdjournal/index.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/index.js +8 -0
- package/dist/packages/contract/mdjournal/index.js.map +1 -0
- package/dist/packages/contract/mdjournal/schemas/index.d.ts +7 -0
- package/dist/packages/contract/mdjournal/schemas/index.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/schemas/index.js +7 -0
- package/dist/packages/contract/mdjournal/schemas/index.js.map +1 -0
- package/dist/packages/contract/mdjournal/schemas/types.d.ts +357 -0
- package/dist/packages/contract/mdjournal/schemas/types.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/schemas/types.js +7 -0
- package/dist/packages/contract/mdjournal/schemas/types.js.map +1 -0
- package/dist/packages/contract/mdjournal/schemas/validators.d.ts +1576 -0
- package/dist/packages/contract/mdjournal/schemas/validators.d.ts.map +1 -0
- package/dist/packages/contract/mdjournal/schemas/validators.js +952 -0
- package/dist/packages/contract/mdjournal/schemas/validators.js.map +1 -0
- package/dist/server/src/cli.d.ts.map +1 -0
- package/dist/server/src/cli.js.map +1 -0
- package/dist/server/src/index.d.ts.map +1 -0
- package/dist/{index.js → server/src/index.js} +21 -11
- package/dist/server/src/index.js.map +1 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.d.ts +19 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.js +88 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.js.map +1 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.test.d.ts +2 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.test.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.test.js +111 -0
- package/dist/server/src/mdjournal/domains/CalendarDomain.test.js.map +1 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.d.ts +27 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.js +59 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.js.map +1 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.test.d.ts +2 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.test.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.test.js +177 -0
- package/dist/server/src/mdjournal/domains/ConfigDomain.test.js.map +1 -0
- package/dist/server/src/mdjournal/domains/GitDomain.d.ts +15 -0
- package/dist/server/src/mdjournal/domains/GitDomain.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/GitDomain.js +16 -0
- package/dist/server/src/mdjournal/domains/GitDomain.js.map +1 -0
- package/dist/server/src/mdjournal/domains/GitDomain.test.d.ts +2 -0
- package/dist/server/src/mdjournal/domains/GitDomain.test.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/GitDomain.test.js +112 -0
- package/dist/server/src/mdjournal/domains/GitDomain.test.js.map +1 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.d.ts +23 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.js +117 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.js.map +1 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.test.d.ts +2 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.test.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.test.js +207 -0
- package/dist/server/src/mdjournal/domains/ReportDomain.test.js.map +1 -0
- package/dist/server/src/mdjournal/domains/errors.d.ts +17 -0
- package/dist/server/src/mdjournal/domains/errors.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/errors.js +27 -0
- package/dist/server/src/mdjournal/domains/errors.js.map +1 -0
- package/dist/server/src/mdjournal/domains/index.d.ts +15 -0
- package/dist/server/src/mdjournal/domains/index.d.ts.map +1 -0
- package/dist/server/src/mdjournal/domains/index.js +11 -0
- package/dist/server/src/mdjournal/domains/index.js.map +1 -0
- package/dist/server/src/mdjournal/index.d.ts +17 -0
- package/dist/server/src/mdjournal/index.d.ts.map +1 -0
- package/dist/server/src/mdjournal/index.js +34 -0
- package/dist/server/src/mdjournal/index.js.map +1 -0
- package/dist/server/src/mdjournal/routes.generated.d.ts +28 -0
- package/dist/server/src/mdjournal/routes.generated.d.ts.map +1 -0
- package/dist/server/src/mdjournal/routes.generated.js +403 -0
- package/dist/server/src/mdjournal/routes.generated.js.map +1 -0
- package/dist/server/src/types/index.d.ts.map +1 -0
- package/dist/server/src/types/index.js.map +1 -0
- package/dist/server/src/utils/configValidator.d.ts.map +1 -0
- package/dist/server/src/utils/configValidator.js.map +1 -0
- package/dist/server/src/utils/configValidator.test.d.ts +2 -0
- package/dist/server/src/utils/configValidator.test.d.ts.map +1 -0
- package/dist/server/src/utils/configValidator.test.js +359 -0
- package/dist/server/src/utils/configValidator.test.js.map +1 -0
- package/dist/server/src/utils/fileManager.d.ts.map +1 -0
- package/dist/server/src/utils/fileManager.js.map +1 -0
- package/dist/server/src/utils/git.d.ts.map +1 -0
- package/dist/server/src/utils/git.js.map +1 -0
- package/dist/server/src/utils/index.d.ts.map +1 -0
- package/dist/server/src/utils/index.js.map +1 -0
- package/dist/server/src/utils/markdown.d.ts.map +1 -0
- package/dist/server/src/utils/markdown.js.map +1 -0
- package/dist/server/src/utils/markdown.test.d.ts +2 -0
- package/dist/server/src/utils/markdown.test.d.ts.map +1 -0
- package/dist/server/src/utils/markdown.test.js +291 -0
- package/dist/server/src/utils/markdown.test.js.map +1 -0
- package/dist/server/src/utils/slack.d.ts.map +1 -0
- package/dist/server/src/utils/slack.js.map +1 -0
- package/dist/server/src/utils/validator.d.ts.map +1 -0
- package/dist/server/src/utils/validator.js.map +1 -0
- package/dist/server/src/utils/validator.test.d.ts +2 -0
- package/dist/server/src/utils/validator.test.d.ts.map +1 -0
- package/dist/server/src/utils/validator.test.js +307 -0
- package/dist/server/src/utils/validator.test.js.map +1 -0
- package/package.json +37 -15
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/client/assets/index-DlkkIyB6.js +0 -402
- package/dist/client/dist/assets/index-DlkkIyB6.js +0 -402
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/routes/calendar.d.ts +0 -8
- package/dist/routes/calendar.d.ts.map +0 -1
- package/dist/routes/calendar.js +0 -115
- package/dist/routes/calendar.js.map +0 -1
- package/dist/routes/config.d.ts +0 -11
- package/dist/routes/config.d.ts.map +0 -1
- package/dist/routes/config.js +0 -120
- package/dist/routes/config.js.map +0 -1
- package/dist/routes/gcal.d.ts +0 -10
- package/dist/routes/gcal.d.ts.map +0 -1
- package/dist/routes/gcal.js +0 -100
- package/dist/routes/gcal.js.map +0 -1
- package/dist/routes/git.d.ts +0 -8
- package/dist/routes/git.d.ts.map +0 -1
- package/dist/routes/git.js +0 -28
- package/dist/routes/git.js.map +0 -1
- package/dist/routes/index.d.ts +0 -9
- package/dist/routes/index.d.ts.map +0 -1
- package/dist/routes/index.js +0 -9
- package/dist/routes/index.js.map +0 -1
- package/dist/routes/reports.d.ts +0 -10
- package/dist/routes/reports.d.ts.map +0 -1
- package/dist/routes/reports.js +0 -175
- package/dist/routes/reports.js.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/utils/configValidator.d.ts.map +0 -1
- package/dist/utils/configValidator.js.map +0 -1
- package/dist/utils/fileManager.d.ts.map +0 -1
- package/dist/utils/fileManager.js.map +0 -1
- package/dist/utils/git.d.ts.map +0 -1
- package/dist/utils/git.js.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/markdown.d.ts.map +0 -1
- package/dist/utils/markdown.js.map +0 -1
- package/dist/utils/slack.d.ts.map +0 -1
- package/dist/utils/slack.js.map +0 -1
- package/dist/utils/validator.d.ts.map +0 -1
- package/dist/utils/validator.js.map +0 -1
- /package/dist/{cli.d.ts → server/src/cli.d.ts} +0 -0
- /package/dist/{cli.js → server/src/cli.js} +0 -0
- /package/dist/{index.d.ts → server/src/index.d.ts} +0 -0
- /package/dist/{types → server/src/types}/index.d.ts +0 -0
- /package/dist/{types → server/src/types}/index.js +0 -0
- /package/dist/{utils → server/src/utils}/configValidator.d.ts +0 -0
- /package/dist/{utils → server/src/utils}/configValidator.js +0 -0
- /package/dist/{utils → server/src/utils}/fileManager.d.ts +0 -0
- /package/dist/{utils → server/src/utils}/fileManager.js +0 -0
- /package/dist/{utils → server/src/utils}/git.d.ts +0 -0
- /package/dist/{utils → server/src/utils}/git.js +0 -0
- /package/dist/{utils → server/src/utils}/index.d.ts +0 -0
- /package/dist/{utils → server/src/utils}/index.js +0 -0
- /package/dist/{utils → server/src/utils}/markdown.d.ts +0 -0
- /package/dist/{utils → server/src/utils}/markdown.js +0 -0
- /package/dist/{utils → server/src/utils}/slack.d.ts +0 -0
- /package/dist/{utils → server/src/utils}/slack.js +0 -0
- /package/dist/{utils → server/src/utils}/validator.d.ts +0 -0
- /package/dist/{utils → server/src/utils}/validator.js +0 -0
|
@@ -0,0 +1,1576 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated JSON Schemas from OpenAPI specification
|
|
3
|
+
* Generated from: mdJournal API v1.0.0
|
|
4
|
+
* DO NOT EDIT MANUALLY
|
|
5
|
+
*/
|
|
6
|
+
export declare const Error: {
|
|
7
|
+
readonly $id: "Error";
|
|
8
|
+
readonly type: "object";
|
|
9
|
+
readonly properties: {
|
|
10
|
+
readonly code: {
|
|
11
|
+
readonly type: "string";
|
|
12
|
+
readonly description: "エラーコード";
|
|
13
|
+
};
|
|
14
|
+
readonly message: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
readonly description: "エラーメッセージ";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
readonly required: readonly ["code", "message"];
|
|
20
|
+
};
|
|
21
|
+
export declare const ReportStats: {
|
|
22
|
+
readonly $id: "ReportStats";
|
|
23
|
+
readonly type: "object";
|
|
24
|
+
readonly description: "日報の統計情報。ファイル保存時にサーバーが計算し、\nYAML frontmatterとしてMarkdownファイル先頭に保存されます。\n";
|
|
25
|
+
readonly properties: {
|
|
26
|
+
readonly planHours: {
|
|
27
|
+
readonly type: "number";
|
|
28
|
+
readonly description: "計画時間(時間)";
|
|
29
|
+
readonly format: "float";
|
|
30
|
+
};
|
|
31
|
+
readonly resultHours: {
|
|
32
|
+
readonly type: "number";
|
|
33
|
+
readonly description: "実績時間(時間)";
|
|
34
|
+
readonly format: "float";
|
|
35
|
+
};
|
|
36
|
+
readonly todoCount: {
|
|
37
|
+
readonly type: "integer";
|
|
38
|
+
readonly description: "TODO総数";
|
|
39
|
+
};
|
|
40
|
+
readonly todoCompleted: {
|
|
41
|
+
readonly type: "integer";
|
|
42
|
+
readonly description: "完了TODO数";
|
|
43
|
+
};
|
|
44
|
+
readonly todoInProgress: {
|
|
45
|
+
readonly type: "integer";
|
|
46
|
+
readonly description: "進行中TODO数";
|
|
47
|
+
};
|
|
48
|
+
readonly projectHours: {
|
|
49
|
+
readonly type: "object";
|
|
50
|
+
readonly description: "プロジェクト別実績時間(時間)";
|
|
51
|
+
readonly additionalProperties: {
|
|
52
|
+
readonly type: "number";
|
|
53
|
+
readonly format: "float";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
readonly updatedAt: {
|
|
57
|
+
readonly type: "string";
|
|
58
|
+
readonly description: "最終更新日時";
|
|
59
|
+
readonly format: "date-time";
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly required: readonly ["planHours", "resultHours", "todoCount", "todoCompleted", "todoInProgress", "projectHours", "updatedAt"];
|
|
63
|
+
};
|
|
64
|
+
export declare const ReportResponse: {
|
|
65
|
+
readonly $id: "ReportResponse";
|
|
66
|
+
readonly type: "object";
|
|
67
|
+
readonly properties: {
|
|
68
|
+
readonly date: {
|
|
69
|
+
readonly type: "string";
|
|
70
|
+
readonly description: "日報の日付";
|
|
71
|
+
readonly format: "date";
|
|
72
|
+
};
|
|
73
|
+
readonly content: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly description: "日報のMarkdownコンテンツ(frontmatterを除いた本文部分)\n";
|
|
76
|
+
};
|
|
77
|
+
readonly stats: {
|
|
78
|
+
readonly $ref: "ReportStats#";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
readonly required: readonly ["date", "content", "stats"];
|
|
82
|
+
};
|
|
83
|
+
export declare const ReportSaveRequest: {
|
|
84
|
+
readonly $id: "ReportSaveRequest";
|
|
85
|
+
readonly type: "object";
|
|
86
|
+
readonly properties: {
|
|
87
|
+
readonly content: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly description: "日報のMarkdownコンテンツ(frontmatterなしの本文のみ)。\nサーバーが統計情報を計算してfrontmatterを付与して保存します。\n";
|
|
90
|
+
};
|
|
91
|
+
readonly git: {
|
|
92
|
+
readonly $ref: "GitOptions#";
|
|
93
|
+
};
|
|
94
|
+
readonly slack: {
|
|
95
|
+
readonly $ref: "SlackOptions#";
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
readonly required: readonly ["content"];
|
|
99
|
+
};
|
|
100
|
+
export declare const GitOptions: {
|
|
101
|
+
readonly $id: "GitOptions";
|
|
102
|
+
readonly type: "object";
|
|
103
|
+
readonly description: "Git操作オプション";
|
|
104
|
+
readonly properties: {
|
|
105
|
+
readonly commit: {
|
|
106
|
+
readonly type: "boolean";
|
|
107
|
+
readonly description: "保存後にコミットするか";
|
|
108
|
+
readonly default: false;
|
|
109
|
+
};
|
|
110
|
+
readonly push: {
|
|
111
|
+
readonly type: "boolean";
|
|
112
|
+
readonly description: "コミット後にプッシュするか(commitがtrueの場合のみ有効)";
|
|
113
|
+
readonly default: false;
|
|
114
|
+
};
|
|
115
|
+
readonly message: {
|
|
116
|
+
readonly type: "string";
|
|
117
|
+
readonly description: "コミットメッセージ(省略時は自動生成)";
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
export declare const SlackOptions: {
|
|
122
|
+
readonly $id: "SlackOptions";
|
|
123
|
+
readonly type: "object";
|
|
124
|
+
readonly description: "Slack投稿オプション";
|
|
125
|
+
readonly properties: {
|
|
126
|
+
readonly post: {
|
|
127
|
+
readonly type: "boolean";
|
|
128
|
+
readonly description: "Slackに投稿するか";
|
|
129
|
+
readonly default: false;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
export declare const GitResult: {
|
|
134
|
+
readonly $id: "GitResult";
|
|
135
|
+
readonly type: "object";
|
|
136
|
+
readonly description: "Git操作結果";
|
|
137
|
+
readonly properties: {
|
|
138
|
+
readonly committed: {
|
|
139
|
+
readonly type: "boolean";
|
|
140
|
+
readonly description: "コミットが成功したか";
|
|
141
|
+
};
|
|
142
|
+
readonly pushed: {
|
|
143
|
+
readonly type: "boolean";
|
|
144
|
+
readonly description: "プッシュが成功したか";
|
|
145
|
+
};
|
|
146
|
+
readonly commitHash: {
|
|
147
|
+
readonly type: "string";
|
|
148
|
+
readonly description: "コミットハッシュ";
|
|
149
|
+
};
|
|
150
|
+
readonly error: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly description: "エラーメッセージ(失敗時)";
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
export declare const SlackResult: {
|
|
157
|
+
readonly $id: "SlackResult";
|
|
158
|
+
readonly type: "object";
|
|
159
|
+
readonly description: "Slack投稿結果";
|
|
160
|
+
readonly properties: {
|
|
161
|
+
readonly posted: {
|
|
162
|
+
readonly type: "boolean";
|
|
163
|
+
readonly description: "投稿が成功したか";
|
|
164
|
+
};
|
|
165
|
+
readonly error: {
|
|
166
|
+
readonly type: "string";
|
|
167
|
+
readonly description: "エラーメッセージ(失敗時)";
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
export declare const ReportSaveResponse: {
|
|
172
|
+
readonly $id: "ReportSaveResponse";
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
readonly properties: {
|
|
175
|
+
readonly date: {
|
|
176
|
+
readonly type: "string";
|
|
177
|
+
readonly description: "保存した日報の日付";
|
|
178
|
+
readonly format: "date";
|
|
179
|
+
};
|
|
180
|
+
readonly saved: {
|
|
181
|
+
readonly type: "boolean";
|
|
182
|
+
readonly description: "保存が成功したか";
|
|
183
|
+
};
|
|
184
|
+
readonly stats: {
|
|
185
|
+
readonly $ref: "ReportStats#";
|
|
186
|
+
};
|
|
187
|
+
readonly git: {
|
|
188
|
+
readonly $ref: "GitResult#";
|
|
189
|
+
};
|
|
190
|
+
readonly slack: {
|
|
191
|
+
readonly $ref: "SlackResult#";
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly required: readonly ["date", "saved", "stats"];
|
|
195
|
+
};
|
|
196
|
+
export declare const CalendarData: {
|
|
197
|
+
readonly $id: "CalendarData";
|
|
198
|
+
readonly type: "object";
|
|
199
|
+
readonly properties: {
|
|
200
|
+
readonly year: {
|
|
201
|
+
readonly type: "integer";
|
|
202
|
+
readonly description: "年";
|
|
203
|
+
};
|
|
204
|
+
readonly month: {
|
|
205
|
+
readonly type: "integer";
|
|
206
|
+
readonly description: "月";
|
|
207
|
+
};
|
|
208
|
+
readonly days: {
|
|
209
|
+
readonly type: "array";
|
|
210
|
+
readonly description: "日別統計データ。各日報ファイルのfrontmatterから取得するため高速。\n";
|
|
211
|
+
readonly items: {
|
|
212
|
+
readonly $ref: "DayStats#";
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
readonly summary: {
|
|
216
|
+
readonly $ref: "CalendarSummary#";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly required: readonly ["year", "month", "days"];
|
|
220
|
+
};
|
|
221
|
+
export declare const DayStats: {
|
|
222
|
+
readonly $id: "DayStats";
|
|
223
|
+
readonly type: "object";
|
|
224
|
+
readonly properties: {
|
|
225
|
+
readonly date: {
|
|
226
|
+
readonly type: "string";
|
|
227
|
+
readonly description: "日付";
|
|
228
|
+
readonly format: "date";
|
|
229
|
+
};
|
|
230
|
+
readonly hasReport: {
|
|
231
|
+
readonly type: "boolean";
|
|
232
|
+
readonly description: "日報が存在するか";
|
|
233
|
+
};
|
|
234
|
+
readonly planHours: {
|
|
235
|
+
readonly type: "number";
|
|
236
|
+
readonly description: "計画時間(時間)";
|
|
237
|
+
readonly format: "float";
|
|
238
|
+
};
|
|
239
|
+
readonly resultHours: {
|
|
240
|
+
readonly type: "number";
|
|
241
|
+
readonly description: "実績時間(時間)";
|
|
242
|
+
readonly format: "float";
|
|
243
|
+
};
|
|
244
|
+
readonly todoCount: {
|
|
245
|
+
readonly type: "integer";
|
|
246
|
+
readonly description: "TODO総数";
|
|
247
|
+
};
|
|
248
|
+
readonly todoCompleted: {
|
|
249
|
+
readonly type: "integer";
|
|
250
|
+
readonly description: "完了TODO数";
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
readonly required: readonly ["date", "hasReport"];
|
|
254
|
+
};
|
|
255
|
+
export declare const CalendarSummary: {
|
|
256
|
+
readonly $id: "CalendarSummary";
|
|
257
|
+
readonly type: "object";
|
|
258
|
+
readonly description: "月間サマリー";
|
|
259
|
+
readonly properties: {
|
|
260
|
+
readonly totalPlanHours: {
|
|
261
|
+
readonly type: "number";
|
|
262
|
+
readonly description: "計画時間合計";
|
|
263
|
+
readonly format: "float";
|
|
264
|
+
};
|
|
265
|
+
readonly totalResultHours: {
|
|
266
|
+
readonly type: "number";
|
|
267
|
+
readonly description: "実績時間合計";
|
|
268
|
+
readonly format: "float";
|
|
269
|
+
};
|
|
270
|
+
readonly workDays: {
|
|
271
|
+
readonly type: "integer";
|
|
272
|
+
readonly description: "稼働日数(日報が存在する日数)";
|
|
273
|
+
};
|
|
274
|
+
readonly todoCompleted: {
|
|
275
|
+
readonly type: "integer";
|
|
276
|
+
readonly description: "完了TODO数";
|
|
277
|
+
};
|
|
278
|
+
readonly projectHours: {
|
|
279
|
+
readonly type: "object";
|
|
280
|
+
readonly description: "プロジェクト別実績時間合計(時間)";
|
|
281
|
+
readonly additionalProperties: {
|
|
282
|
+
readonly type: "number";
|
|
283
|
+
readonly format: "float";
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
export declare const YearMonthsResponse: {
|
|
289
|
+
readonly $id: "YearMonthsResponse";
|
|
290
|
+
readonly type: "object";
|
|
291
|
+
readonly properties: {
|
|
292
|
+
readonly yearMonths: {
|
|
293
|
+
readonly type: "array";
|
|
294
|
+
readonly description: "日報が存在する年月のリスト(新しい順)";
|
|
295
|
+
readonly items: {
|
|
296
|
+
readonly $ref: "YearMonth#";
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
readonly required: readonly ["yearMonths"];
|
|
301
|
+
};
|
|
302
|
+
export declare const YearMonth: {
|
|
303
|
+
readonly $id: "YearMonth";
|
|
304
|
+
readonly type: "object";
|
|
305
|
+
readonly properties: {
|
|
306
|
+
readonly year: {
|
|
307
|
+
readonly type: "integer";
|
|
308
|
+
readonly description: "年";
|
|
309
|
+
};
|
|
310
|
+
readonly month: {
|
|
311
|
+
readonly type: "integer";
|
|
312
|
+
readonly description: "月(1-12)";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
readonly required: readonly ["year", "month"];
|
|
316
|
+
};
|
|
317
|
+
export declare const Config: {
|
|
318
|
+
readonly $id: "Config";
|
|
319
|
+
readonly type: "object";
|
|
320
|
+
readonly properties: {
|
|
321
|
+
readonly projects: {
|
|
322
|
+
readonly type: "array";
|
|
323
|
+
readonly description: "プロジェクトマスタ";
|
|
324
|
+
readonly items: {
|
|
325
|
+
readonly $ref: "Project#";
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
readonly routines: {
|
|
329
|
+
readonly $ref: "Routines#";
|
|
330
|
+
};
|
|
331
|
+
readonly timeline: {
|
|
332
|
+
readonly $ref: "TimelineConfig#";
|
|
333
|
+
};
|
|
334
|
+
readonly slack: {
|
|
335
|
+
readonly $ref: "SlackConfig#";
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
export declare const Project: {
|
|
340
|
+
readonly $id: "Project";
|
|
341
|
+
readonly type: "object";
|
|
342
|
+
readonly properties: {
|
|
343
|
+
readonly code: {
|
|
344
|
+
readonly type: "string";
|
|
345
|
+
readonly description: "プロジェクトコード";
|
|
346
|
+
};
|
|
347
|
+
readonly name: {
|
|
348
|
+
readonly type: "string";
|
|
349
|
+
readonly description: "プロジェクト名";
|
|
350
|
+
};
|
|
351
|
+
readonly color: {
|
|
352
|
+
readonly type: "string";
|
|
353
|
+
readonly description: "プロジェクトカラー(HEX形式)";
|
|
354
|
+
readonly pattern: "^#[0-9A-Fa-f]{6}$";
|
|
355
|
+
};
|
|
356
|
+
readonly category: {
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly description: "カテゴリ";
|
|
359
|
+
readonly enum: readonly ["internal", "client", "personal"];
|
|
360
|
+
};
|
|
361
|
+
readonly client: {
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
readonly description: "クライアント名";
|
|
364
|
+
};
|
|
365
|
+
readonly active: {
|
|
366
|
+
readonly type: "boolean";
|
|
367
|
+
readonly description: "アクティブフラグ";
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
readonly required: readonly ["code", "name", "color", "category", "active"];
|
|
371
|
+
};
|
|
372
|
+
export declare const TimelineConfig: {
|
|
373
|
+
readonly $id: "TimelineConfig";
|
|
374
|
+
readonly type: "object";
|
|
375
|
+
readonly description: "タイムライン表示設定";
|
|
376
|
+
readonly properties: {
|
|
377
|
+
readonly hourHeight: {
|
|
378
|
+
readonly type: "integer";
|
|
379
|
+
readonly description: "1時間あたりの高さ(ピクセル)";
|
|
380
|
+
};
|
|
381
|
+
readonly maxHours: {
|
|
382
|
+
readonly type: "integer";
|
|
383
|
+
readonly description: "最大表示時間";
|
|
384
|
+
};
|
|
385
|
+
readonly defaultStartHour: {
|
|
386
|
+
readonly type: "integer";
|
|
387
|
+
readonly description: "デフォルト開始時刻";
|
|
388
|
+
};
|
|
389
|
+
readonly defaultEndHour: {
|
|
390
|
+
readonly type: "integer";
|
|
391
|
+
readonly description: "デフォルト終了時刻";
|
|
392
|
+
};
|
|
393
|
+
readonly snapMinutes: {
|
|
394
|
+
readonly type: "integer";
|
|
395
|
+
readonly description: "ドラッグ時のスナップ単位(分)";
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
export declare const SlackConfig: {
|
|
400
|
+
readonly $id: "SlackConfig";
|
|
401
|
+
readonly type: "object";
|
|
402
|
+
readonly description: "Slack連携設定";
|
|
403
|
+
readonly properties: {
|
|
404
|
+
readonly enabled: {
|
|
405
|
+
readonly type: "boolean";
|
|
406
|
+
readonly description: "Slack連携が有効か";
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
export declare const Routines: {
|
|
411
|
+
readonly $id: "Routines";
|
|
412
|
+
readonly type: "object";
|
|
413
|
+
readonly properties: {
|
|
414
|
+
readonly weekly: {
|
|
415
|
+
readonly $ref: "WeeklyRoutine#";
|
|
416
|
+
};
|
|
417
|
+
readonly adhoc: {
|
|
418
|
+
readonly type: "array";
|
|
419
|
+
readonly items: {
|
|
420
|
+
readonly $ref: "RoutineItem#";
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
readonly monthly: {
|
|
424
|
+
readonly $ref: "MonthlyRoutine#";
|
|
425
|
+
};
|
|
426
|
+
readonly quarterly: {
|
|
427
|
+
readonly type: "array";
|
|
428
|
+
readonly items: {
|
|
429
|
+
readonly $ref: "QuarterlyRoutine#";
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
readonly yearly: {
|
|
433
|
+
readonly type: "array";
|
|
434
|
+
readonly items: {
|
|
435
|
+
readonly $ref: "YearlyRoutine#";
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
export declare const WeeklyRoutine: {
|
|
441
|
+
readonly $id: "WeeklyRoutine";
|
|
442
|
+
readonly type: "object";
|
|
443
|
+
readonly description: "週次ルーチン(曜日別)";
|
|
444
|
+
readonly properties: {
|
|
445
|
+
readonly monday: {
|
|
446
|
+
readonly type: "array";
|
|
447
|
+
readonly items: {
|
|
448
|
+
readonly $ref: "RoutineItem#";
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
readonly tuesday: {
|
|
452
|
+
readonly type: "array";
|
|
453
|
+
readonly items: {
|
|
454
|
+
readonly $ref: "RoutineItem#";
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
readonly wednesday: {
|
|
458
|
+
readonly type: "array";
|
|
459
|
+
readonly items: {
|
|
460
|
+
readonly $ref: "RoutineItem#";
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
readonly thursday: {
|
|
464
|
+
readonly type: "array";
|
|
465
|
+
readonly items: {
|
|
466
|
+
readonly $ref: "RoutineItem#";
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
readonly friday: {
|
|
470
|
+
readonly type: "array";
|
|
471
|
+
readonly items: {
|
|
472
|
+
readonly $ref: "RoutineItem#";
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
readonly saturday: {
|
|
476
|
+
readonly type: "array";
|
|
477
|
+
readonly items: {
|
|
478
|
+
readonly $ref: "RoutineItem#";
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
readonly sunday: {
|
|
482
|
+
readonly type: "array";
|
|
483
|
+
readonly items: {
|
|
484
|
+
readonly $ref: "RoutineItem#";
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
export declare const MonthlyRoutine: {
|
|
490
|
+
readonly $id: "MonthlyRoutine";
|
|
491
|
+
readonly type: "object";
|
|
492
|
+
readonly description: "月次ルーチン";
|
|
493
|
+
readonly properties: {
|
|
494
|
+
readonly start_of_month: {
|
|
495
|
+
readonly type: "array";
|
|
496
|
+
readonly items: {
|
|
497
|
+
readonly $ref: "MonthlyRoutineItem#";
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
readonly end_of_month: {
|
|
501
|
+
readonly type: "array";
|
|
502
|
+
readonly items: {
|
|
503
|
+
readonly $ref: "MonthlyRoutineItem#";
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
readonly schedule: {
|
|
507
|
+
readonly type: "array";
|
|
508
|
+
readonly items: {
|
|
509
|
+
readonly $ref: "RoutineItem#";
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
export declare const QuarterlyRoutine: {
|
|
515
|
+
readonly $id: "QuarterlyRoutine";
|
|
516
|
+
readonly type: "object";
|
|
517
|
+
readonly properties: {
|
|
518
|
+
readonly months: {
|
|
519
|
+
readonly type: "array";
|
|
520
|
+
readonly description: "実行月";
|
|
521
|
+
readonly items: {
|
|
522
|
+
readonly type: "integer";
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
readonly tasks: {
|
|
526
|
+
readonly type: "array";
|
|
527
|
+
readonly items: {
|
|
528
|
+
readonly $ref: "MonthlyRoutineItem#";
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
readonly schedule: {
|
|
532
|
+
readonly type: "array";
|
|
533
|
+
readonly items: {
|
|
534
|
+
readonly $ref: "RoutineItem#";
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
readonly required: readonly ["months", "tasks"];
|
|
539
|
+
};
|
|
540
|
+
export declare const YearlyRoutine: {
|
|
541
|
+
readonly $id: "YearlyRoutine";
|
|
542
|
+
readonly type: "object";
|
|
543
|
+
readonly properties: {
|
|
544
|
+
readonly month: {
|
|
545
|
+
readonly type: "integer";
|
|
546
|
+
readonly description: "実行月";
|
|
547
|
+
};
|
|
548
|
+
readonly day: {
|
|
549
|
+
readonly type: "integer";
|
|
550
|
+
readonly description: "実行日";
|
|
551
|
+
};
|
|
552
|
+
readonly project: {
|
|
553
|
+
readonly type: "string";
|
|
554
|
+
};
|
|
555
|
+
readonly task: {
|
|
556
|
+
readonly type: "string";
|
|
557
|
+
};
|
|
558
|
+
readonly time: {
|
|
559
|
+
readonly type: "string";
|
|
560
|
+
readonly description: "開始時刻(HH:MM形式)";
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
readonly required: readonly ["month", "day", "project", "task"];
|
|
564
|
+
};
|
|
565
|
+
export declare const RoutineItem: {
|
|
566
|
+
readonly $id: "RoutineItem";
|
|
567
|
+
readonly type: "object";
|
|
568
|
+
readonly properties: {
|
|
569
|
+
readonly id: {
|
|
570
|
+
readonly type: "string";
|
|
571
|
+
readonly description: "ルーチンID";
|
|
572
|
+
};
|
|
573
|
+
readonly time: {
|
|
574
|
+
readonly type: "string";
|
|
575
|
+
readonly description: "開始時刻(HH:MM形式)";
|
|
576
|
+
readonly pattern: "^([01]?[0-9]|2[0-3]):[0-5][0-9]$";
|
|
577
|
+
};
|
|
578
|
+
readonly project: {
|
|
579
|
+
readonly type: "string";
|
|
580
|
+
readonly description: "プロジェクトコード";
|
|
581
|
+
};
|
|
582
|
+
readonly task: {
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
readonly description: "タスク名";
|
|
585
|
+
};
|
|
586
|
+
readonly duration: {
|
|
587
|
+
readonly type: "integer";
|
|
588
|
+
readonly description: "所要時間(分)";
|
|
589
|
+
};
|
|
590
|
+
readonly category: {
|
|
591
|
+
readonly type: "string";
|
|
592
|
+
readonly description: "タスク形式かTODO形式か";
|
|
593
|
+
readonly enum: readonly ["plan", "todo"];
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
readonly required: readonly ["project", "task"];
|
|
597
|
+
};
|
|
598
|
+
export declare const MonthlyRoutineItem: {
|
|
599
|
+
readonly $id: "MonthlyRoutineItem";
|
|
600
|
+
readonly type: "object";
|
|
601
|
+
readonly properties: {
|
|
602
|
+
readonly project: {
|
|
603
|
+
readonly type: "string";
|
|
604
|
+
readonly description: "プロジェクトコード";
|
|
605
|
+
};
|
|
606
|
+
readonly task: {
|
|
607
|
+
readonly type: "string";
|
|
608
|
+
readonly description: "タスク名";
|
|
609
|
+
};
|
|
610
|
+
readonly category: {
|
|
611
|
+
readonly type: "string";
|
|
612
|
+
readonly description: "タスク形式かTODO形式か";
|
|
613
|
+
readonly enum: readonly ["plan", "todo"];
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
readonly required: readonly ["project", "task"];
|
|
617
|
+
};
|
|
618
|
+
export declare const RoutinesMarkdownResponse: {
|
|
619
|
+
readonly $id: "RoutinesMarkdownResponse";
|
|
620
|
+
readonly type: "object";
|
|
621
|
+
readonly properties: {
|
|
622
|
+
readonly content: {
|
|
623
|
+
readonly type: "string";
|
|
624
|
+
readonly description: "Markdown形式のルーチン設定。\n";
|
|
625
|
+
};
|
|
626
|
+
readonly source: {
|
|
627
|
+
readonly type: "string";
|
|
628
|
+
readonly description: "データソース。`markdown` は `data/routines.md` から読み込み、\n`yaml` は `config/routines.yaml` から変換したことを示します。\n";
|
|
629
|
+
readonly enum: readonly ["markdown", "yaml"];
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
readonly required: readonly ["content", "source"];
|
|
633
|
+
};
|
|
634
|
+
export declare const RoutinesMarkdownRequest: {
|
|
635
|
+
readonly $id: "RoutinesMarkdownRequest";
|
|
636
|
+
readonly type: "object";
|
|
637
|
+
readonly properties: {
|
|
638
|
+
readonly content: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly description: "保存するMarkdown形式のルーチン設定。\n";
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
readonly required: readonly ["content"];
|
|
644
|
+
};
|
|
645
|
+
export declare const ExtendedGitStatus: {
|
|
646
|
+
readonly $id: "ExtendedGitStatus";
|
|
647
|
+
readonly type: "object";
|
|
648
|
+
readonly properties: {
|
|
649
|
+
readonly branch: {
|
|
650
|
+
readonly type: "string";
|
|
651
|
+
readonly description: "現在のブランチ名";
|
|
652
|
+
};
|
|
653
|
+
readonly uncommitted: {
|
|
654
|
+
readonly $ref: "UncommittedChanges#";
|
|
655
|
+
};
|
|
656
|
+
readonly unpushed: {
|
|
657
|
+
readonly $ref: "UnpushedCommits#";
|
|
658
|
+
};
|
|
659
|
+
readonly lastCommit: {
|
|
660
|
+
readonly $ref: "CommitInfo#";
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
readonly required: readonly ["branch", "uncommitted", "unpushed"];
|
|
664
|
+
};
|
|
665
|
+
export declare const UncommittedChanges: {
|
|
666
|
+
readonly $id: "UncommittedChanges";
|
|
667
|
+
readonly type: "object";
|
|
668
|
+
readonly properties: {
|
|
669
|
+
readonly count: {
|
|
670
|
+
readonly type: "integer";
|
|
671
|
+
readonly description: "未コミットファイル数";
|
|
672
|
+
};
|
|
673
|
+
readonly files: {
|
|
674
|
+
readonly type: "array";
|
|
675
|
+
readonly items: {
|
|
676
|
+
readonly $ref: "FileStatus#";
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
readonly required: readonly ["count", "files"];
|
|
681
|
+
};
|
|
682
|
+
export declare const FileStatus: {
|
|
683
|
+
readonly $id: "FileStatus";
|
|
684
|
+
readonly type: "object";
|
|
685
|
+
readonly properties: {
|
|
686
|
+
readonly path: {
|
|
687
|
+
readonly type: "string";
|
|
688
|
+
readonly description: "ファイルパス";
|
|
689
|
+
};
|
|
690
|
+
readonly status: {
|
|
691
|
+
readonly type: "string";
|
|
692
|
+
readonly description: "ステータス(M:変更, A:追加, D:削除など)";
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
readonly required: readonly ["path", "status"];
|
|
696
|
+
};
|
|
697
|
+
export declare const UnpushedCommits: {
|
|
698
|
+
readonly $id: "UnpushedCommits";
|
|
699
|
+
readonly type: "object";
|
|
700
|
+
readonly properties: {
|
|
701
|
+
readonly count: {
|
|
702
|
+
readonly type: "integer";
|
|
703
|
+
readonly description: "未プッシュコミット数";
|
|
704
|
+
};
|
|
705
|
+
readonly commits: {
|
|
706
|
+
readonly type: "array";
|
|
707
|
+
readonly items: {
|
|
708
|
+
readonly $ref: "UnpushedCommit#";
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
readonly required: readonly ["count", "commits"];
|
|
713
|
+
};
|
|
714
|
+
export declare const UnpushedCommit: {
|
|
715
|
+
readonly $id: "UnpushedCommit";
|
|
716
|
+
readonly type: "object";
|
|
717
|
+
readonly properties: {
|
|
718
|
+
readonly hash: {
|
|
719
|
+
readonly type: "string";
|
|
720
|
+
readonly description: "コミットハッシュ(短縮形)";
|
|
721
|
+
};
|
|
722
|
+
readonly message: {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
readonly description: "コミットメッセージ";
|
|
725
|
+
};
|
|
726
|
+
readonly date: {
|
|
727
|
+
readonly type: "string";
|
|
728
|
+
readonly description: "コミット日時";
|
|
729
|
+
};
|
|
730
|
+
readonly files: {
|
|
731
|
+
readonly type: "array";
|
|
732
|
+
readonly description: "コミットに含まれるファイル一覧";
|
|
733
|
+
readonly items: {
|
|
734
|
+
readonly type: "string";
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
readonly required: readonly ["hash", "message", "date", "files"];
|
|
739
|
+
};
|
|
740
|
+
export declare const CommitInfo: {
|
|
741
|
+
readonly $id: "CommitInfo";
|
|
742
|
+
readonly type: "object";
|
|
743
|
+
readonly properties: {
|
|
744
|
+
readonly hash: {
|
|
745
|
+
readonly type: "string";
|
|
746
|
+
readonly description: "コミットハッシュ";
|
|
747
|
+
};
|
|
748
|
+
readonly message: {
|
|
749
|
+
readonly type: "string";
|
|
750
|
+
readonly description: "コミットメッセージ";
|
|
751
|
+
};
|
|
752
|
+
readonly date: {
|
|
753
|
+
readonly type: "string";
|
|
754
|
+
readonly description: "コミット日時";
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
readonly required: readonly ["hash", "message", "date"];
|
|
758
|
+
};
|
|
759
|
+
export declare const Report_getReportParams: {
|
|
760
|
+
readonly $id: "Report_getReportParams";
|
|
761
|
+
readonly type: "object";
|
|
762
|
+
readonly properties: {
|
|
763
|
+
readonly date: {
|
|
764
|
+
readonly type: "string";
|
|
765
|
+
readonly format: "date";
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
readonly required: readonly ["date"];
|
|
769
|
+
};
|
|
770
|
+
export declare const Report_saveReportParams: {
|
|
771
|
+
readonly $id: "Report_saveReportParams";
|
|
772
|
+
readonly type: "object";
|
|
773
|
+
readonly properties: {
|
|
774
|
+
readonly date: {
|
|
775
|
+
readonly type: "string";
|
|
776
|
+
readonly format: "date";
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
readonly required: readonly ["date"];
|
|
780
|
+
};
|
|
781
|
+
export declare const Report_deleteReportParams: {
|
|
782
|
+
readonly $id: "Report_deleteReportParams";
|
|
783
|
+
readonly type: "object";
|
|
784
|
+
readonly properties: {
|
|
785
|
+
readonly date: {
|
|
786
|
+
readonly type: "string";
|
|
787
|
+
readonly format: "date";
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
readonly required: readonly ["date"];
|
|
791
|
+
};
|
|
792
|
+
export declare const Calendar_getCalendarDataParams: {
|
|
793
|
+
readonly $id: "Calendar_getCalendarDataParams";
|
|
794
|
+
readonly type: "object";
|
|
795
|
+
readonly properties: {
|
|
796
|
+
readonly year: {
|
|
797
|
+
readonly type: "integer";
|
|
798
|
+
readonly minimum: 2000;
|
|
799
|
+
readonly maximum: 2100;
|
|
800
|
+
};
|
|
801
|
+
readonly month: {
|
|
802
|
+
readonly type: "integer";
|
|
803
|
+
readonly minimum: 1;
|
|
804
|
+
readonly maximum: 12;
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
readonly required: readonly ["year", "month"];
|
|
808
|
+
};
|
|
809
|
+
export declare const allSchemas: readonly [{
|
|
810
|
+
readonly $id: "Error";
|
|
811
|
+
readonly type: "object";
|
|
812
|
+
readonly properties: {
|
|
813
|
+
readonly code: {
|
|
814
|
+
readonly type: "string";
|
|
815
|
+
readonly description: "エラーコード";
|
|
816
|
+
};
|
|
817
|
+
readonly message: {
|
|
818
|
+
readonly type: "string";
|
|
819
|
+
readonly description: "エラーメッセージ";
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
readonly required: readonly ["code", "message"];
|
|
823
|
+
}, {
|
|
824
|
+
readonly $id: "ReportStats";
|
|
825
|
+
readonly type: "object";
|
|
826
|
+
readonly description: "日報の統計情報。ファイル保存時にサーバーが計算し、\nYAML frontmatterとしてMarkdownファイル先頭に保存されます。\n";
|
|
827
|
+
readonly properties: {
|
|
828
|
+
readonly planHours: {
|
|
829
|
+
readonly type: "number";
|
|
830
|
+
readonly description: "計画時間(時間)";
|
|
831
|
+
readonly format: "float";
|
|
832
|
+
};
|
|
833
|
+
readonly resultHours: {
|
|
834
|
+
readonly type: "number";
|
|
835
|
+
readonly description: "実績時間(時間)";
|
|
836
|
+
readonly format: "float";
|
|
837
|
+
};
|
|
838
|
+
readonly todoCount: {
|
|
839
|
+
readonly type: "integer";
|
|
840
|
+
readonly description: "TODO総数";
|
|
841
|
+
};
|
|
842
|
+
readonly todoCompleted: {
|
|
843
|
+
readonly type: "integer";
|
|
844
|
+
readonly description: "完了TODO数";
|
|
845
|
+
};
|
|
846
|
+
readonly todoInProgress: {
|
|
847
|
+
readonly type: "integer";
|
|
848
|
+
readonly description: "進行中TODO数";
|
|
849
|
+
};
|
|
850
|
+
readonly projectHours: {
|
|
851
|
+
readonly type: "object";
|
|
852
|
+
readonly description: "プロジェクト別実績時間(時間)";
|
|
853
|
+
readonly additionalProperties: {
|
|
854
|
+
readonly type: "number";
|
|
855
|
+
readonly format: "float";
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
readonly updatedAt: {
|
|
859
|
+
readonly type: "string";
|
|
860
|
+
readonly description: "最終更新日時";
|
|
861
|
+
readonly format: "date-time";
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
readonly required: readonly ["planHours", "resultHours", "todoCount", "todoCompleted", "todoInProgress", "projectHours", "updatedAt"];
|
|
865
|
+
}, {
|
|
866
|
+
readonly $id: "ReportResponse";
|
|
867
|
+
readonly type: "object";
|
|
868
|
+
readonly properties: {
|
|
869
|
+
readonly date: {
|
|
870
|
+
readonly type: "string";
|
|
871
|
+
readonly description: "日報の日付";
|
|
872
|
+
readonly format: "date";
|
|
873
|
+
};
|
|
874
|
+
readonly content: {
|
|
875
|
+
readonly type: "string";
|
|
876
|
+
readonly description: "日報のMarkdownコンテンツ(frontmatterを除いた本文部分)\n";
|
|
877
|
+
};
|
|
878
|
+
readonly stats: {
|
|
879
|
+
readonly $ref: "ReportStats#";
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
readonly required: readonly ["date", "content", "stats"];
|
|
883
|
+
}, {
|
|
884
|
+
readonly $id: "ReportSaveRequest";
|
|
885
|
+
readonly type: "object";
|
|
886
|
+
readonly properties: {
|
|
887
|
+
readonly content: {
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
readonly description: "日報のMarkdownコンテンツ(frontmatterなしの本文のみ)。\nサーバーが統計情報を計算してfrontmatterを付与して保存します。\n";
|
|
890
|
+
};
|
|
891
|
+
readonly git: {
|
|
892
|
+
readonly $ref: "GitOptions#";
|
|
893
|
+
};
|
|
894
|
+
readonly slack: {
|
|
895
|
+
readonly $ref: "SlackOptions#";
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
readonly required: readonly ["content"];
|
|
899
|
+
}, {
|
|
900
|
+
readonly $id: "GitOptions";
|
|
901
|
+
readonly type: "object";
|
|
902
|
+
readonly description: "Git操作オプション";
|
|
903
|
+
readonly properties: {
|
|
904
|
+
readonly commit: {
|
|
905
|
+
readonly type: "boolean";
|
|
906
|
+
readonly description: "保存後にコミットするか";
|
|
907
|
+
readonly default: false;
|
|
908
|
+
};
|
|
909
|
+
readonly push: {
|
|
910
|
+
readonly type: "boolean";
|
|
911
|
+
readonly description: "コミット後にプッシュするか(commitがtrueの場合のみ有効)";
|
|
912
|
+
readonly default: false;
|
|
913
|
+
};
|
|
914
|
+
readonly message: {
|
|
915
|
+
readonly type: "string";
|
|
916
|
+
readonly description: "コミットメッセージ(省略時は自動生成)";
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
}, {
|
|
920
|
+
readonly $id: "SlackOptions";
|
|
921
|
+
readonly type: "object";
|
|
922
|
+
readonly description: "Slack投稿オプション";
|
|
923
|
+
readonly properties: {
|
|
924
|
+
readonly post: {
|
|
925
|
+
readonly type: "boolean";
|
|
926
|
+
readonly description: "Slackに投稿するか";
|
|
927
|
+
readonly default: false;
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
}, {
|
|
931
|
+
readonly $id: "GitResult";
|
|
932
|
+
readonly type: "object";
|
|
933
|
+
readonly description: "Git操作結果";
|
|
934
|
+
readonly properties: {
|
|
935
|
+
readonly committed: {
|
|
936
|
+
readonly type: "boolean";
|
|
937
|
+
readonly description: "コミットが成功したか";
|
|
938
|
+
};
|
|
939
|
+
readonly pushed: {
|
|
940
|
+
readonly type: "boolean";
|
|
941
|
+
readonly description: "プッシュが成功したか";
|
|
942
|
+
};
|
|
943
|
+
readonly commitHash: {
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
readonly description: "コミットハッシュ";
|
|
946
|
+
};
|
|
947
|
+
readonly error: {
|
|
948
|
+
readonly type: "string";
|
|
949
|
+
readonly description: "エラーメッセージ(失敗時)";
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
}, {
|
|
953
|
+
readonly $id: "SlackResult";
|
|
954
|
+
readonly type: "object";
|
|
955
|
+
readonly description: "Slack投稿結果";
|
|
956
|
+
readonly properties: {
|
|
957
|
+
readonly posted: {
|
|
958
|
+
readonly type: "boolean";
|
|
959
|
+
readonly description: "投稿が成功したか";
|
|
960
|
+
};
|
|
961
|
+
readonly error: {
|
|
962
|
+
readonly type: "string";
|
|
963
|
+
readonly description: "エラーメッセージ(失敗時)";
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
}, {
|
|
967
|
+
readonly $id: "ReportSaveResponse";
|
|
968
|
+
readonly type: "object";
|
|
969
|
+
readonly properties: {
|
|
970
|
+
readonly date: {
|
|
971
|
+
readonly type: "string";
|
|
972
|
+
readonly description: "保存した日報の日付";
|
|
973
|
+
readonly format: "date";
|
|
974
|
+
};
|
|
975
|
+
readonly saved: {
|
|
976
|
+
readonly type: "boolean";
|
|
977
|
+
readonly description: "保存が成功したか";
|
|
978
|
+
};
|
|
979
|
+
readonly stats: {
|
|
980
|
+
readonly $ref: "ReportStats#";
|
|
981
|
+
};
|
|
982
|
+
readonly git: {
|
|
983
|
+
readonly $ref: "GitResult#";
|
|
984
|
+
};
|
|
985
|
+
readonly slack: {
|
|
986
|
+
readonly $ref: "SlackResult#";
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
readonly required: readonly ["date", "saved", "stats"];
|
|
990
|
+
}, {
|
|
991
|
+
readonly $id: "CalendarData";
|
|
992
|
+
readonly type: "object";
|
|
993
|
+
readonly properties: {
|
|
994
|
+
readonly year: {
|
|
995
|
+
readonly type: "integer";
|
|
996
|
+
readonly description: "年";
|
|
997
|
+
};
|
|
998
|
+
readonly month: {
|
|
999
|
+
readonly type: "integer";
|
|
1000
|
+
readonly description: "月";
|
|
1001
|
+
};
|
|
1002
|
+
readonly days: {
|
|
1003
|
+
readonly type: "array";
|
|
1004
|
+
readonly description: "日別統計データ。各日報ファイルのfrontmatterから取得するため高速。\n";
|
|
1005
|
+
readonly items: {
|
|
1006
|
+
readonly $ref: "DayStats#";
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
readonly summary: {
|
|
1010
|
+
readonly $ref: "CalendarSummary#";
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
readonly required: readonly ["year", "month", "days"];
|
|
1014
|
+
}, {
|
|
1015
|
+
readonly $id: "DayStats";
|
|
1016
|
+
readonly type: "object";
|
|
1017
|
+
readonly properties: {
|
|
1018
|
+
readonly date: {
|
|
1019
|
+
readonly type: "string";
|
|
1020
|
+
readonly description: "日付";
|
|
1021
|
+
readonly format: "date";
|
|
1022
|
+
};
|
|
1023
|
+
readonly hasReport: {
|
|
1024
|
+
readonly type: "boolean";
|
|
1025
|
+
readonly description: "日報が存在するか";
|
|
1026
|
+
};
|
|
1027
|
+
readonly planHours: {
|
|
1028
|
+
readonly type: "number";
|
|
1029
|
+
readonly description: "計画時間(時間)";
|
|
1030
|
+
readonly format: "float";
|
|
1031
|
+
};
|
|
1032
|
+
readonly resultHours: {
|
|
1033
|
+
readonly type: "number";
|
|
1034
|
+
readonly description: "実績時間(時間)";
|
|
1035
|
+
readonly format: "float";
|
|
1036
|
+
};
|
|
1037
|
+
readonly todoCount: {
|
|
1038
|
+
readonly type: "integer";
|
|
1039
|
+
readonly description: "TODO総数";
|
|
1040
|
+
};
|
|
1041
|
+
readonly todoCompleted: {
|
|
1042
|
+
readonly type: "integer";
|
|
1043
|
+
readonly description: "完了TODO数";
|
|
1044
|
+
};
|
|
1045
|
+
};
|
|
1046
|
+
readonly required: readonly ["date", "hasReport"];
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly $id: "CalendarSummary";
|
|
1049
|
+
readonly type: "object";
|
|
1050
|
+
readonly description: "月間サマリー";
|
|
1051
|
+
readonly properties: {
|
|
1052
|
+
readonly totalPlanHours: {
|
|
1053
|
+
readonly type: "number";
|
|
1054
|
+
readonly description: "計画時間合計";
|
|
1055
|
+
readonly format: "float";
|
|
1056
|
+
};
|
|
1057
|
+
readonly totalResultHours: {
|
|
1058
|
+
readonly type: "number";
|
|
1059
|
+
readonly description: "実績時間合計";
|
|
1060
|
+
readonly format: "float";
|
|
1061
|
+
};
|
|
1062
|
+
readonly workDays: {
|
|
1063
|
+
readonly type: "integer";
|
|
1064
|
+
readonly description: "稼働日数(日報が存在する日数)";
|
|
1065
|
+
};
|
|
1066
|
+
readonly todoCompleted: {
|
|
1067
|
+
readonly type: "integer";
|
|
1068
|
+
readonly description: "完了TODO数";
|
|
1069
|
+
};
|
|
1070
|
+
readonly projectHours: {
|
|
1071
|
+
readonly type: "object";
|
|
1072
|
+
readonly description: "プロジェクト別実績時間合計(時間)";
|
|
1073
|
+
readonly additionalProperties: {
|
|
1074
|
+
readonly type: "number";
|
|
1075
|
+
readonly format: "float";
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
}, {
|
|
1080
|
+
readonly $id: "YearMonthsResponse";
|
|
1081
|
+
readonly type: "object";
|
|
1082
|
+
readonly properties: {
|
|
1083
|
+
readonly yearMonths: {
|
|
1084
|
+
readonly type: "array";
|
|
1085
|
+
readonly description: "日報が存在する年月のリスト(新しい順)";
|
|
1086
|
+
readonly items: {
|
|
1087
|
+
readonly $ref: "YearMonth#";
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
readonly required: readonly ["yearMonths"];
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly $id: "YearMonth";
|
|
1094
|
+
readonly type: "object";
|
|
1095
|
+
readonly properties: {
|
|
1096
|
+
readonly year: {
|
|
1097
|
+
readonly type: "integer";
|
|
1098
|
+
readonly description: "年";
|
|
1099
|
+
};
|
|
1100
|
+
readonly month: {
|
|
1101
|
+
readonly type: "integer";
|
|
1102
|
+
readonly description: "月(1-12)";
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
readonly required: readonly ["year", "month"];
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly $id: "Config";
|
|
1108
|
+
readonly type: "object";
|
|
1109
|
+
readonly properties: {
|
|
1110
|
+
readonly projects: {
|
|
1111
|
+
readonly type: "array";
|
|
1112
|
+
readonly description: "プロジェクトマスタ";
|
|
1113
|
+
readonly items: {
|
|
1114
|
+
readonly $ref: "Project#";
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
readonly routines: {
|
|
1118
|
+
readonly $ref: "Routines#";
|
|
1119
|
+
};
|
|
1120
|
+
readonly timeline: {
|
|
1121
|
+
readonly $ref: "TimelineConfig#";
|
|
1122
|
+
};
|
|
1123
|
+
readonly slack: {
|
|
1124
|
+
readonly $ref: "SlackConfig#";
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly $id: "Project";
|
|
1129
|
+
readonly type: "object";
|
|
1130
|
+
readonly properties: {
|
|
1131
|
+
readonly code: {
|
|
1132
|
+
readonly type: "string";
|
|
1133
|
+
readonly description: "プロジェクトコード";
|
|
1134
|
+
};
|
|
1135
|
+
readonly name: {
|
|
1136
|
+
readonly type: "string";
|
|
1137
|
+
readonly description: "プロジェクト名";
|
|
1138
|
+
};
|
|
1139
|
+
readonly color: {
|
|
1140
|
+
readonly type: "string";
|
|
1141
|
+
readonly description: "プロジェクトカラー(HEX形式)";
|
|
1142
|
+
readonly pattern: "^#[0-9A-Fa-f]{6}$";
|
|
1143
|
+
};
|
|
1144
|
+
readonly category: {
|
|
1145
|
+
readonly type: "string";
|
|
1146
|
+
readonly description: "カテゴリ";
|
|
1147
|
+
readonly enum: readonly ["internal", "client", "personal"];
|
|
1148
|
+
};
|
|
1149
|
+
readonly client: {
|
|
1150
|
+
readonly type: "string";
|
|
1151
|
+
readonly description: "クライアント名";
|
|
1152
|
+
};
|
|
1153
|
+
readonly active: {
|
|
1154
|
+
readonly type: "boolean";
|
|
1155
|
+
readonly description: "アクティブフラグ";
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
readonly required: readonly ["code", "name", "color", "category", "active"];
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly $id: "TimelineConfig";
|
|
1161
|
+
readonly type: "object";
|
|
1162
|
+
readonly description: "タイムライン表示設定";
|
|
1163
|
+
readonly properties: {
|
|
1164
|
+
readonly hourHeight: {
|
|
1165
|
+
readonly type: "integer";
|
|
1166
|
+
readonly description: "1時間あたりの高さ(ピクセル)";
|
|
1167
|
+
};
|
|
1168
|
+
readonly maxHours: {
|
|
1169
|
+
readonly type: "integer";
|
|
1170
|
+
readonly description: "最大表示時間";
|
|
1171
|
+
};
|
|
1172
|
+
readonly defaultStartHour: {
|
|
1173
|
+
readonly type: "integer";
|
|
1174
|
+
readonly description: "デフォルト開始時刻";
|
|
1175
|
+
};
|
|
1176
|
+
readonly defaultEndHour: {
|
|
1177
|
+
readonly type: "integer";
|
|
1178
|
+
readonly description: "デフォルト終了時刻";
|
|
1179
|
+
};
|
|
1180
|
+
readonly snapMinutes: {
|
|
1181
|
+
readonly type: "integer";
|
|
1182
|
+
readonly description: "ドラッグ時のスナップ単位(分)";
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly $id: "SlackConfig";
|
|
1187
|
+
readonly type: "object";
|
|
1188
|
+
readonly description: "Slack連携設定";
|
|
1189
|
+
readonly properties: {
|
|
1190
|
+
readonly enabled: {
|
|
1191
|
+
readonly type: "boolean";
|
|
1192
|
+
readonly description: "Slack連携が有効か";
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly $id: "Routines";
|
|
1197
|
+
readonly type: "object";
|
|
1198
|
+
readonly properties: {
|
|
1199
|
+
readonly weekly: {
|
|
1200
|
+
readonly $ref: "WeeklyRoutine#";
|
|
1201
|
+
};
|
|
1202
|
+
readonly adhoc: {
|
|
1203
|
+
readonly type: "array";
|
|
1204
|
+
readonly items: {
|
|
1205
|
+
readonly $ref: "RoutineItem#";
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
readonly monthly: {
|
|
1209
|
+
readonly $ref: "MonthlyRoutine#";
|
|
1210
|
+
};
|
|
1211
|
+
readonly quarterly: {
|
|
1212
|
+
readonly type: "array";
|
|
1213
|
+
readonly items: {
|
|
1214
|
+
readonly $ref: "QuarterlyRoutine#";
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
readonly yearly: {
|
|
1218
|
+
readonly type: "array";
|
|
1219
|
+
readonly items: {
|
|
1220
|
+
readonly $ref: "YearlyRoutine#";
|
|
1221
|
+
};
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
}, {
|
|
1225
|
+
readonly $id: "WeeklyRoutine";
|
|
1226
|
+
readonly type: "object";
|
|
1227
|
+
readonly description: "週次ルーチン(曜日別)";
|
|
1228
|
+
readonly properties: {
|
|
1229
|
+
readonly monday: {
|
|
1230
|
+
readonly type: "array";
|
|
1231
|
+
readonly items: {
|
|
1232
|
+
readonly $ref: "RoutineItem#";
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
readonly tuesday: {
|
|
1236
|
+
readonly type: "array";
|
|
1237
|
+
readonly items: {
|
|
1238
|
+
readonly $ref: "RoutineItem#";
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
readonly wednesday: {
|
|
1242
|
+
readonly type: "array";
|
|
1243
|
+
readonly items: {
|
|
1244
|
+
readonly $ref: "RoutineItem#";
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
readonly thursday: {
|
|
1248
|
+
readonly type: "array";
|
|
1249
|
+
readonly items: {
|
|
1250
|
+
readonly $ref: "RoutineItem#";
|
|
1251
|
+
};
|
|
1252
|
+
};
|
|
1253
|
+
readonly friday: {
|
|
1254
|
+
readonly type: "array";
|
|
1255
|
+
readonly items: {
|
|
1256
|
+
readonly $ref: "RoutineItem#";
|
|
1257
|
+
};
|
|
1258
|
+
};
|
|
1259
|
+
readonly saturday: {
|
|
1260
|
+
readonly type: "array";
|
|
1261
|
+
readonly items: {
|
|
1262
|
+
readonly $ref: "RoutineItem#";
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
readonly sunday: {
|
|
1266
|
+
readonly type: "array";
|
|
1267
|
+
readonly items: {
|
|
1268
|
+
readonly $ref: "RoutineItem#";
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly $id: "MonthlyRoutine";
|
|
1274
|
+
readonly type: "object";
|
|
1275
|
+
readonly description: "月次ルーチン";
|
|
1276
|
+
readonly properties: {
|
|
1277
|
+
readonly start_of_month: {
|
|
1278
|
+
readonly type: "array";
|
|
1279
|
+
readonly items: {
|
|
1280
|
+
readonly $ref: "MonthlyRoutineItem#";
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
readonly end_of_month: {
|
|
1284
|
+
readonly type: "array";
|
|
1285
|
+
readonly items: {
|
|
1286
|
+
readonly $ref: "MonthlyRoutineItem#";
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
readonly schedule: {
|
|
1290
|
+
readonly type: "array";
|
|
1291
|
+
readonly items: {
|
|
1292
|
+
readonly $ref: "RoutineItem#";
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
}, {
|
|
1297
|
+
readonly $id: "QuarterlyRoutine";
|
|
1298
|
+
readonly type: "object";
|
|
1299
|
+
readonly properties: {
|
|
1300
|
+
readonly months: {
|
|
1301
|
+
readonly type: "array";
|
|
1302
|
+
readonly description: "実行月";
|
|
1303
|
+
readonly items: {
|
|
1304
|
+
readonly type: "integer";
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1307
|
+
readonly tasks: {
|
|
1308
|
+
readonly type: "array";
|
|
1309
|
+
readonly items: {
|
|
1310
|
+
readonly $ref: "MonthlyRoutineItem#";
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
readonly schedule: {
|
|
1314
|
+
readonly type: "array";
|
|
1315
|
+
readonly items: {
|
|
1316
|
+
readonly $ref: "RoutineItem#";
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
readonly required: readonly ["months", "tasks"];
|
|
1321
|
+
}, {
|
|
1322
|
+
readonly $id: "YearlyRoutine";
|
|
1323
|
+
readonly type: "object";
|
|
1324
|
+
readonly properties: {
|
|
1325
|
+
readonly month: {
|
|
1326
|
+
readonly type: "integer";
|
|
1327
|
+
readonly description: "実行月";
|
|
1328
|
+
};
|
|
1329
|
+
readonly day: {
|
|
1330
|
+
readonly type: "integer";
|
|
1331
|
+
readonly description: "実行日";
|
|
1332
|
+
};
|
|
1333
|
+
readonly project: {
|
|
1334
|
+
readonly type: "string";
|
|
1335
|
+
};
|
|
1336
|
+
readonly task: {
|
|
1337
|
+
readonly type: "string";
|
|
1338
|
+
};
|
|
1339
|
+
readonly time: {
|
|
1340
|
+
readonly type: "string";
|
|
1341
|
+
readonly description: "開始時刻(HH:MM形式)";
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
readonly required: readonly ["month", "day", "project", "task"];
|
|
1345
|
+
}, {
|
|
1346
|
+
readonly $id: "RoutineItem";
|
|
1347
|
+
readonly type: "object";
|
|
1348
|
+
readonly properties: {
|
|
1349
|
+
readonly id: {
|
|
1350
|
+
readonly type: "string";
|
|
1351
|
+
readonly description: "ルーチンID";
|
|
1352
|
+
};
|
|
1353
|
+
readonly time: {
|
|
1354
|
+
readonly type: "string";
|
|
1355
|
+
readonly description: "開始時刻(HH:MM形式)";
|
|
1356
|
+
readonly pattern: "^([01]?[0-9]|2[0-3]):[0-5][0-9]$";
|
|
1357
|
+
};
|
|
1358
|
+
readonly project: {
|
|
1359
|
+
readonly type: "string";
|
|
1360
|
+
readonly description: "プロジェクトコード";
|
|
1361
|
+
};
|
|
1362
|
+
readonly task: {
|
|
1363
|
+
readonly type: "string";
|
|
1364
|
+
readonly description: "タスク名";
|
|
1365
|
+
};
|
|
1366
|
+
readonly duration: {
|
|
1367
|
+
readonly type: "integer";
|
|
1368
|
+
readonly description: "所要時間(分)";
|
|
1369
|
+
};
|
|
1370
|
+
readonly category: {
|
|
1371
|
+
readonly type: "string";
|
|
1372
|
+
readonly description: "タスク形式かTODO形式か";
|
|
1373
|
+
readonly enum: readonly ["plan", "todo"];
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1376
|
+
readonly required: readonly ["project", "task"];
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly $id: "MonthlyRoutineItem";
|
|
1379
|
+
readonly type: "object";
|
|
1380
|
+
readonly properties: {
|
|
1381
|
+
readonly project: {
|
|
1382
|
+
readonly type: "string";
|
|
1383
|
+
readonly description: "プロジェクトコード";
|
|
1384
|
+
};
|
|
1385
|
+
readonly task: {
|
|
1386
|
+
readonly type: "string";
|
|
1387
|
+
readonly description: "タスク名";
|
|
1388
|
+
};
|
|
1389
|
+
readonly category: {
|
|
1390
|
+
readonly type: "string";
|
|
1391
|
+
readonly description: "タスク形式かTODO形式か";
|
|
1392
|
+
readonly enum: readonly ["plan", "todo"];
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
readonly required: readonly ["project", "task"];
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly $id: "RoutinesMarkdownResponse";
|
|
1398
|
+
readonly type: "object";
|
|
1399
|
+
readonly properties: {
|
|
1400
|
+
readonly content: {
|
|
1401
|
+
readonly type: "string";
|
|
1402
|
+
readonly description: "Markdown形式のルーチン設定。\n";
|
|
1403
|
+
};
|
|
1404
|
+
readonly source: {
|
|
1405
|
+
readonly type: "string";
|
|
1406
|
+
readonly description: "データソース。`markdown` は `data/routines.md` から読み込み、\n`yaml` は `config/routines.yaml` から変換したことを示します。\n";
|
|
1407
|
+
readonly enum: readonly ["markdown", "yaml"];
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
readonly required: readonly ["content", "source"];
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly $id: "RoutinesMarkdownRequest";
|
|
1413
|
+
readonly type: "object";
|
|
1414
|
+
readonly properties: {
|
|
1415
|
+
readonly content: {
|
|
1416
|
+
readonly type: "string";
|
|
1417
|
+
readonly description: "保存するMarkdown形式のルーチン設定。\n";
|
|
1418
|
+
};
|
|
1419
|
+
};
|
|
1420
|
+
readonly required: readonly ["content"];
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly $id: "ExtendedGitStatus";
|
|
1423
|
+
readonly type: "object";
|
|
1424
|
+
readonly properties: {
|
|
1425
|
+
readonly branch: {
|
|
1426
|
+
readonly type: "string";
|
|
1427
|
+
readonly description: "現在のブランチ名";
|
|
1428
|
+
};
|
|
1429
|
+
readonly uncommitted: {
|
|
1430
|
+
readonly $ref: "UncommittedChanges#";
|
|
1431
|
+
};
|
|
1432
|
+
readonly unpushed: {
|
|
1433
|
+
readonly $ref: "UnpushedCommits#";
|
|
1434
|
+
};
|
|
1435
|
+
readonly lastCommit: {
|
|
1436
|
+
readonly $ref: "CommitInfo#";
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
readonly required: readonly ["branch", "uncommitted", "unpushed"];
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly $id: "UncommittedChanges";
|
|
1442
|
+
readonly type: "object";
|
|
1443
|
+
readonly properties: {
|
|
1444
|
+
readonly count: {
|
|
1445
|
+
readonly type: "integer";
|
|
1446
|
+
readonly description: "未コミットファイル数";
|
|
1447
|
+
};
|
|
1448
|
+
readonly files: {
|
|
1449
|
+
readonly type: "array";
|
|
1450
|
+
readonly items: {
|
|
1451
|
+
readonly $ref: "FileStatus#";
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
readonly required: readonly ["count", "files"];
|
|
1456
|
+
}, {
|
|
1457
|
+
readonly $id: "FileStatus";
|
|
1458
|
+
readonly type: "object";
|
|
1459
|
+
readonly properties: {
|
|
1460
|
+
readonly path: {
|
|
1461
|
+
readonly type: "string";
|
|
1462
|
+
readonly description: "ファイルパス";
|
|
1463
|
+
};
|
|
1464
|
+
readonly status: {
|
|
1465
|
+
readonly type: "string";
|
|
1466
|
+
readonly description: "ステータス(M:変更, A:追加, D:削除など)";
|
|
1467
|
+
};
|
|
1468
|
+
};
|
|
1469
|
+
readonly required: readonly ["path", "status"];
|
|
1470
|
+
}, {
|
|
1471
|
+
readonly $id: "UnpushedCommits";
|
|
1472
|
+
readonly type: "object";
|
|
1473
|
+
readonly properties: {
|
|
1474
|
+
readonly count: {
|
|
1475
|
+
readonly type: "integer";
|
|
1476
|
+
readonly description: "未プッシュコミット数";
|
|
1477
|
+
};
|
|
1478
|
+
readonly commits: {
|
|
1479
|
+
readonly type: "array";
|
|
1480
|
+
readonly items: {
|
|
1481
|
+
readonly $ref: "UnpushedCommit#";
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
readonly required: readonly ["count", "commits"];
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly $id: "UnpushedCommit";
|
|
1488
|
+
readonly type: "object";
|
|
1489
|
+
readonly properties: {
|
|
1490
|
+
readonly hash: {
|
|
1491
|
+
readonly type: "string";
|
|
1492
|
+
readonly description: "コミットハッシュ(短縮形)";
|
|
1493
|
+
};
|
|
1494
|
+
readonly message: {
|
|
1495
|
+
readonly type: "string";
|
|
1496
|
+
readonly description: "コミットメッセージ";
|
|
1497
|
+
};
|
|
1498
|
+
readonly date: {
|
|
1499
|
+
readonly type: "string";
|
|
1500
|
+
readonly description: "コミット日時";
|
|
1501
|
+
};
|
|
1502
|
+
readonly files: {
|
|
1503
|
+
readonly type: "array";
|
|
1504
|
+
readonly description: "コミットに含まれるファイル一覧";
|
|
1505
|
+
readonly items: {
|
|
1506
|
+
readonly type: "string";
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
readonly required: readonly ["hash", "message", "date", "files"];
|
|
1511
|
+
}, {
|
|
1512
|
+
readonly $id: "CommitInfo";
|
|
1513
|
+
readonly type: "object";
|
|
1514
|
+
readonly properties: {
|
|
1515
|
+
readonly hash: {
|
|
1516
|
+
readonly type: "string";
|
|
1517
|
+
readonly description: "コミットハッシュ";
|
|
1518
|
+
};
|
|
1519
|
+
readonly message: {
|
|
1520
|
+
readonly type: "string";
|
|
1521
|
+
readonly description: "コミットメッセージ";
|
|
1522
|
+
};
|
|
1523
|
+
readonly date: {
|
|
1524
|
+
readonly type: "string";
|
|
1525
|
+
readonly description: "コミット日時";
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
readonly required: readonly ["hash", "message", "date"];
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly $id: "Report_getReportParams";
|
|
1531
|
+
readonly type: "object";
|
|
1532
|
+
readonly properties: {
|
|
1533
|
+
readonly date: {
|
|
1534
|
+
readonly type: "string";
|
|
1535
|
+
readonly format: "date";
|
|
1536
|
+
};
|
|
1537
|
+
};
|
|
1538
|
+
readonly required: readonly ["date"];
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly $id: "Report_saveReportParams";
|
|
1541
|
+
readonly type: "object";
|
|
1542
|
+
readonly properties: {
|
|
1543
|
+
readonly date: {
|
|
1544
|
+
readonly type: "string";
|
|
1545
|
+
readonly format: "date";
|
|
1546
|
+
};
|
|
1547
|
+
};
|
|
1548
|
+
readonly required: readonly ["date"];
|
|
1549
|
+
}, {
|
|
1550
|
+
readonly $id: "Report_deleteReportParams";
|
|
1551
|
+
readonly type: "object";
|
|
1552
|
+
readonly properties: {
|
|
1553
|
+
readonly date: {
|
|
1554
|
+
readonly type: "string";
|
|
1555
|
+
readonly format: "date";
|
|
1556
|
+
};
|
|
1557
|
+
};
|
|
1558
|
+
readonly required: readonly ["date"];
|
|
1559
|
+
}, {
|
|
1560
|
+
readonly $id: "Calendar_getCalendarDataParams";
|
|
1561
|
+
readonly type: "object";
|
|
1562
|
+
readonly properties: {
|
|
1563
|
+
readonly year: {
|
|
1564
|
+
readonly type: "integer";
|
|
1565
|
+
readonly minimum: 2000;
|
|
1566
|
+
readonly maximum: 2100;
|
|
1567
|
+
};
|
|
1568
|
+
readonly month: {
|
|
1569
|
+
readonly type: "integer";
|
|
1570
|
+
readonly minimum: 1;
|
|
1571
|
+
readonly maximum: 12;
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
readonly required: readonly ["year", "month"];
|
|
1575
|
+
}];
|
|
1576
|
+
//# sourceMappingURL=validators.d.ts.map
|