-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Also mark as deprecated.
- Loading branch information
childish-sambino
authored
Jun 29, 2022
1 parent
014ac43
commit 34f61d1
Showing
96 changed files
with
1,369 additions
and
3,877 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,33 @@ | ||
import {AuthTokenPromotionListInstance} from './accounts/v1/authTokenPromotion'; | ||
import {CredentialListInstance} from './accounts/v1/credential'; | ||
import {SecondaryAuthTokenListInstance} from './accounts/v1/secondaryAuthToken'; | ||
import AccountsBase from './AccountsBase'; | ||
|
||
export default class Accounts extends AccountsBase { | ||
/** | ||
* @deprecated - Use v1.authTokenPromotion; instead | ||
*/ | ||
get authTokenPromotion(): AuthTokenPromotionListInstance { | ||
console.warn('authTokenPromotion is deprecated. Use v1.authTokenPromotion; instead.'); | ||
return this.v1.authTokenPromotion; | ||
|
||
} | ||
|
||
/** | ||
* @deprecated - Use v1.credentials; instead | ||
*/ | ||
get credentials(): CredentialListInstance { | ||
console.warn('credentials is deprecated. Use v1.credentials; instead.'); | ||
return this.v1.credentials; | ||
|
||
} | ||
|
||
/** | ||
* @deprecated - Use v1.secondaryAuthToken; instead | ||
*/ | ||
get secondaryAuthToken(): SecondaryAuthTokenListInstance { | ||
console.warn('secondaryAuthToken is deprecated. Use v1.secondaryAuthToken; instead.'); | ||
return this.v1.secondaryAuthToken; | ||
|
||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.