-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,454 changed files
with
14,088 additions
and
10,505 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 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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
{ | ||
"version": "independent", | ||
"npmClient": "yarn", | ||
"packages": [ | ||
"packages/core", | ||
"packages/extensions/*", | ||
"test" | ||
] | ||
"packages": ["packages/core", "packages/extensions/*", "test"] | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import { RingCentralInterface } from './types'; | ||
import type { RingCentralInterface } from './types'; | ||
|
||
abstract class SdkExtension { | ||
enabled = true; | ||
public enabled = true; | ||
|
||
enable() { | ||
public enable() { | ||
this.enabled = true; | ||
} | ||
|
||
disable() { | ||
public disable() { | ||
this.enabled = false; | ||
} | ||
|
||
abstract install(rc: RingCentralInterface): Promise<void>; | ||
abstract revoke(): Promise<void>; | ||
public abstract install(rc: RingCentralInterface): Promise<void>; | ||
public abstract revoke(): Promise<void>; | ||
} | ||
|
||
export default SdkExtension; |
Oops, something went wrong.