@@ -30,7 +30,6 @@ export class StatusRegistry {
3030 * Code in the plugin should use {@link getInstance} to use and modify the global
3131 * StatusRegistry.
3232 *
33- * @memberof StatusRegistry
3433 */
3534 public constructor ( ) {
3635 this . addDefaultStatusTypes ( ) ;
@@ -54,7 +53,6 @@ export class StatusRegistry {
5453 *
5554 * @readonly
5655 * @type {Status[] }
57- * @memberof StatusRegistry
5856 */
5957 public get registeredStatuses ( ) : Status [ ] {
6058 return this . _registeredStatuses . filter ( ( { symbol } ) => symbol !== Status . EMPTY . symbol ) ;
@@ -65,7 +63,6 @@ export class StatusRegistry {
6563 *
6664 * @static
6765 * @return {* } {StatusRegistry}
68- * @memberof StatusRegistry
6966 */
7067 public static getInstance ( ) : StatusRegistry {
7168 if ( ! StatusRegistry . instance ) {
@@ -79,7 +76,6 @@ export class StatusRegistry {
7976 * Adds a new Status to the registry if not already registered.
8077 *
8178 * @param {StatusConfiguration | Status } status
82- * @memberof StatusRegistry
8379 */
8480 public add ( status : StatusConfiguration | Status ) : void {
8581 if ( ! this . hasSymbol ( status . symbol ) ) {
@@ -100,7 +96,6 @@ export class StatusRegistry {
10096 *
10197 * @param {string } symbol
10298 * @return {* } {Status}
103- * @memberof StatusRegistry
10499 */
105100 public bySymbol ( symbol : string ) : Status {
106101 if ( this . hasSymbol ( symbol ) ) {
@@ -121,7 +116,6 @@ export class StatusRegistry {
121116 *
122117 * @param {string } symbol
123118 * @return {* } {Status}
124- * @memberof StatusRegistry
125119 */
126120 public bySymbolOrCreate ( symbol : string ) : Status {
127121 if ( this . hasSymbol ( symbol ) ) {
@@ -136,7 +130,6 @@ export class StatusRegistry {
136130 *
137131 * @param {string } nameToFind
138132 * @return {* } {Status}
139- * @memberof StatusRegistry
140133 */
141134 public byName ( nameToFind : string ) : Status {
142135 if ( this . _registeredStatuses . filter ( ( { name } ) => name === nameToFind ) . length > 0 ) {
@@ -149,7 +142,6 @@ export class StatusRegistry {
149142 /**
150143 * Resets the array of Status types to the default statuses.
151144 *
152- * @memberof StatusRegistry
153145 */
154146 public resetToDefaultStatuses ( ) : void {
155147 this . clearStatuses ( ) ;
@@ -168,7 +160,6 @@ export class StatusRegistry {
168160 * which status can come after it as a state transition.
169161 *
170162 * @return {* } {Status}
171- * @memberof StatusRegistry
172163 * @see getNextStatusOrCreate
173164 */
174165 public getNextStatus ( status : Status ) : Status {
@@ -186,7 +177,6 @@ export class StatusRegistry {
186177 * TODO status using the requested next symbol.
187178 *
188179 * @return {* } {Status}
189- * @memberof StatusRegistry
190180 * @see getNextStatus
191181 */
192182 public getNextStatusOrCreate ( status : Status ) : Status {
@@ -304,7 +294,6 @@ export class StatusRegistry {
304294 * @private
305295 * @param {string } symbolToFind
306296 * @return {* } {Status}
307- * @memberof StatusRegistry
308297 */
309298 private getSymbol ( symbolToFind : string ) : Status {
310299 return this . _registeredStatuses . filter ( ( { symbol } ) => symbol === symbolToFind ) [ 0 ] ;
@@ -316,7 +305,6 @@ export class StatusRegistry {
316305 * @private
317306 * @param {string } symbolToFind
318307 * @return {* } {boolean}
319- * @memberof StatusRegistry
320308 */
321309 private hasSymbol ( symbolToFind : string ) : boolean {
322310 return (
@@ -330,7 +318,6 @@ export class StatusRegistry {
330318 * Checks the registry and adds the default status types.
331319 *
332320 * @private
333- * @memberof StatusRegistry
334321 */
335322 private addDefaultStatusTypes ( ) : void {
336323 const defaultStatuses = [ Status . TODO , Status . IN_PROGRESS , Status . DONE , Status . CANCELLED ] ;
0 commit comments