-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
test/test.ts | ||
|
||
node_modules/ | ||
.node_modules/ | ||
built/* | ||
tests/cases/rwc/* | ||
tests/cases/perf/* | ||
!tests/cases/webharness/compilerToString.js | ||
test-args.txt | ||
~*.docx | ||
\#*\# | ||
.\#* | ||
tests/baselines/local/* | ||
tests/baselines/local.old/* | ||
tests/services/baselines/local/* | ||
tests/baselines/prototyping/local/* | ||
tests/baselines/rwc/* | ||
tests/baselines/reference/projectOutput/* | ||
tests/baselines/local/projectOutput/* | ||
tests/baselines/reference/testresults.tap | ||
tests/baselines/symlinks/* | ||
tests/services/baselines/prototyping/local/* | ||
tests/services/browser/typescriptServices.js | ||
src/harness/*.js | ||
src/compiler/diagnosticInformationMap.generated.ts | ||
src/compiler/diagnosticMessages.generated.json | ||
src/parser/diagnosticInformationMap.generated.ts | ||
src/parser/diagnosticMessages.generated.json | ||
rwc-report.html | ||
*.swp | ||
build.json | ||
*.actual | ||
tests/webTestServer.js | ||
tests/webTestServer.js.map | ||
tests/webhost/*.d.ts | ||
tests/webhost/webtsc.js | ||
tests/cases/**/*.js | ||
tests/cases/**/*.js.map | ||
*.config | ||
scripts/eslint/built/ | ||
scripts/debug.bat | ||
scripts/run.bat | ||
scripts/**/*.js | ||
scripts/**/*.js.map | ||
coverage/ | ||
internal/ | ||
**/.DS_Store | ||
.settings | ||
**/.vs | ||
**/.vscode/* | ||
!**/.vscode/tasks.json | ||
!**/.vscode/settings.template.json | ||
!**/.vscode/launch.template.json | ||
!**/.vscode/extensions.json | ||
!tests/cases/projects/projectOption/**/node_modules | ||
!tests/cases/projects/NodeModulesSearch/**/* | ||
!tests/baselines/reference/project/nodeModules*/**/* | ||
.idea | ||
yarn.lock | ||
yarn-error.log | ||
.parallelperf.* | ||
tests/baselines/reference/dt | ||
.failed-tests | ||
TEST-results.xml | ||
package-lock.json | ||
.eslintcache | ||
*v8.log | ||
/lib/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/node_modules | ||
/src | ||
tsconfig.json |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/** | ||
* 独自例外の基底クラス | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class WikidotException extends Error { | ||
constructor(message: string); | ||
} | ||
/** | ||
* 予期せぬ例外が発生したときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class UnexpectedException extends WikidotException { | ||
constructor(message: string); | ||
} | ||
/** | ||
* セッションの作成に失敗したときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class SessionCreateException extends WikidotException { | ||
constructor(message: string); | ||
} | ||
/** | ||
* ログインが必要なメソッドをときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class LoginRequiredException extends WikidotException { | ||
constructor(message: string); | ||
} | ||
/** | ||
* ajax-module-connector.phpへのリクエストに失敗したときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class AjaxModuleConnectorException extends WikidotException { | ||
constructor(message: string); | ||
} | ||
/** | ||
* AMCから返却されたHTTPステータスが200以外だったときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
* @param statusCode - HTTPステータスコード | ||
*/ | ||
declare class AMCHttpStatusCodeException extends AjaxModuleConnectorException { | ||
readonly statusCode: number; | ||
constructor(message: string, statusCode: number); | ||
} | ||
/** | ||
* AMCから返却されたデータ内のステータスがokではなかったときの例外 | ||
* | ||
* HTTPステータスが200以外の場合はAMCHttpStatusCodeExceptionを投げる | ||
* | ||
* @param message - エラーメッセージ | ||
* @param statusCode - WikidotステータスコードAMCから返却されたデータ内のステータスがokではなかったときの例外 | ||
*/ | ||
declare class WikidotStatusCodeException extends AjaxModuleConnectorException { | ||
readonly statusCode: string; | ||
constructor(message: string, statusCode: string); | ||
} | ||
/** | ||
* AMCから返却されたデータが不正だったときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class ResponseDataException extends AjaxModuleConnectorException { | ||
constructor(message: string); | ||
} | ||
/** | ||
* サイトやページ・ユーザが見つからなかったときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class NotFoundException extends WikidotException { | ||
constructor(message: string); | ||
} | ||
/** | ||
* メソッドの対象としたオブジェクトに操作が適用できないときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class TargetErrorException extends WikidotException { | ||
constructor(message: string); | ||
} | ||
/** | ||
* 権限がないときの例外 | ||
* | ||
* @param message - エラーメッセージ | ||
*/ | ||
declare class ForbiddenException extends WikidotException { | ||
constructor(message: string); | ||
} | ||
export { WikidotException, UnexpectedException, SessionCreateException, LoginRequiredException, AjaxModuleConnectorException, AMCHttpStatusCodeException, WikidotStatusCodeException, ResponseDataException, NotFoundException, TargetErrorException, ForbiddenException }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { logger } from './logger'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import winston from 'winston'; | ||
export declare const logger: winston.Logger; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.