-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: replace d.ts files with typedef jsdoc wd-258 (#266)
- Loading branch information
1 parent
abf28cf
commit 88f9f07
Showing
31 changed files
with
117 additions
and
103 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* @typedef {{ | ||
* cb?: () => void | ||
* duration?: number | ||
* message: string | ||
* }} ToastMessagePayload | ||
*/ | ||
|
||
export {} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/** @typedef {import('./toast-message-payload.type.js').ToastMessagePayload} ToastMessagePayload */ | ||
|
||
export {} |
16 changes: 0 additions & 16 deletions
16
source/scripts/packages/timeline/libs/types/timeline-create-payload.type.d.ts
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
source/scripts/packages/timeline/libs/types/timeline-create-payload.type.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,19 @@ | ||
/** @typedef {typeof import('../enums/enums.js').TimelineSkillType} TimelineSkillType */ | ||
/** @typedef {typeof import('../enums/enums.js').TimelineType} TimelineType */ | ||
|
||
/** | ||
* @typedef {{ | ||
* date: string | ||
* desc: string | ||
* endDate: string | ||
* link: string | ||
* linkDesc: string | ||
* origin: string | ||
* originDesc: string | ||
* title: string | ||
* skillType: TimelineSkillType[keyof TimelineSkillType] | ||
* type: TimelineType[keyof TimelineType] | ||
* }} TimelineCreatePayload | ||
*/ | ||
|
||
export {} |
11 changes: 0 additions & 11 deletions
11
source/scripts/packages/timeline/libs/types/timeline-filter.d.type.d.ts
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
source/scripts/packages/timeline/libs/types/timeline-filter.type.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,11 @@ | ||
/** @typedef {typeof import('../enums/enums.js').TimelineSkillType} TimelineSkillType */ | ||
/** @typedef {typeof import('../enums/enums.js').TimelineType} TimelineType */ | ||
|
||
/** | ||
* @typedef {{ | ||
* skillTypes: Record<TimelineSkillType[keyof TimelineSkillType], boolean> | ||
* types: Record<TimelineType[keyof TimelineType], boolean> | ||
* }} TimelineFilter | ||
*/ | ||
|
||
export {} |
17 changes: 0 additions & 17 deletions
17
source/scripts/packages/timeline/libs/types/timeline.type.d.ts
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
source/scripts/packages/timeline/libs/types/timeline.type.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,20 @@ | ||
/** @typedef {typeof import('../enums/enums.js').TimelineSkillType} TimelineSkillType */ | ||
/** @typedef {typeof import('../enums/enums.js').TimelineType} TimelineType */ | ||
|
||
/** | ||
* @typedef {{ | ||
* id: string | ||
* date: string | ||
* desc: string | ||
* endDate: string | ||
* link: string | ||
* linkDesc: string | ||
* origin: string | ||
* originDesc: string | ||
* title: string | ||
* skillType: TimelineSkillType[keyof TimelineSkillType] | ||
* type: TimelineType[keyof TimelineType] | ||
* }} Timeline | ||
*/ | ||
|
||
export {} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** @typedef {import('./timeline-create-payload.type.js').TimelineCreatePayload} TimelineCreatePayload */ | ||
/** @typedef {import('./timeline-filter.type.js').TimelineFilter} TimelineFilter */ | ||
/** @typedef {import('./timeline.type.js').Timeline} Timeline */ | ||
|
||
export {} |
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
2 changes: 1 addition & 1 deletion
2
...ponents/timeline-form/helpers/get-transformed-timeline/get-transformed-timeline.helper.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
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
2 changes: 1 addition & 1 deletion
2
...mponents/timeline-list/libs/helpers/get-timeline-template/get-timeline-template.helper.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
2 changes: 1 addition & 1 deletion
2
...onents/timeline-list/libs/helpers/get-timeline-templates/get-timeline-templates.helper.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
2 changes: 1 addition & 1 deletion
2
...cripts/pages/main/libs/components/timeline/libs/components/timeline-list/timeline-list.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
4 changes: 2 additions & 2 deletions
4
.../components/timeline/libs/helpers/check-is-timeline-suit/check-is-timeline-suit.helper.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
4 changes: 2 additions & 2 deletions
4
...ain/libs/components/timeline/libs/helpers/get-suit-timelines/get-suit-timelines.helper.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
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
13 changes: 0 additions & 13 deletions
13
source/scripts/pages/main/libs/types/settings-button-payload.type.d.ts
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
source/scripts/pages/main/libs/types/settings-button-payload.type.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,13 @@ | ||
/** @typedef {typeof import('../enums/enums.js').SettingButtonLabel} SettingButtonLabel */ | ||
/** @typedef {typeof import('../enums/enums.js').SettingName} SettingName */ | ||
|
||
/** | ||
* @typedef {{ | ||
* isDefaultChecked: boolean | ||
* label: SettingButtonLabel[keyof SettingButtonLabel] | ||
* name: SettingName[keyof SettingName] | ||
* onClick: (name: SettingName[keyof SettingName], isCheck: boolean) => void | ||
* }} SettingsButtonPayload | ||
*/ | ||
|
||
export {} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/** @typedef {import('./settings-button-payload.type.js').SettingsButtonPayload} SettingsButtonPayload */ | ||
|
||
export {} |
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