-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide add-in config to allow for additional host origins (#59)
Co-authored-by: BLACKBAUD\Michael.Tims <[email protected]>
- Loading branch information
1 parent
a679d09
commit df5f753
Showing
11 changed files
with
137 additions
and
42 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,14 +1,14 @@ | ||
{ | ||
"name": "@blackbaud/skyux-lib-addin-client", | ||
"version": "9.1.1", | ||
"version": "9.2.0", | ||
"peerDependencies": { | ||
"@angular/common": "^17.3.6", | ||
"@angular/core": "^17.3.6", | ||
"@skyux/config": "^10.7.0", | ||
"@skyux/theme": "^10.7.0" | ||
}, | ||
"dependencies": { | ||
"@blackbaud/sky-addin-client": "^1.2.2", | ||
"@blackbaud/sky-addin-client": "^1.3.0", | ||
"tslib": "^2.6.2" | ||
} | ||
} |
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,3 +1,4 @@ | ||
export * from './src/addin-client.service'; | ||
export * from './src/addin-client-config.service'; | ||
export * from './src/events/addin-event'; | ||
export * from './src/events/addin-event-handler-instance'; |
14 changes: 14 additions & 0 deletions
14
projects/addin-client/src/src/addin-client-config.service.ts
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,14 @@ | ||
import { AddinClientConfig } from "@blackbaud/sky-addin-client"; | ||
|
||
/** | ||
* Implement this class with your own data to initialize the add-in client service. | ||
*/ | ||
export abstract class AddinClientConfigService { | ||
/** | ||
* Gets the AddinClientConfig object that will be injected the | ||
* AddinClient instance when instantiated. | ||
*/ | ||
public getAddinClientConfig(): AddinClientConfig { | ||
return {}; | ||
} | ||
} |
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