This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove references to CommunicationPolicy
Signed-off-by: Ariel Gentile <[email protected]>
- Loading branch information
Showing
17 changed files
with
59 additions
and
352 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* UserProfileModuleConfigOptions defines the interface for the options of the UserProfileModuleConfig class. | ||
* This can contain optional parameters that have default values in the config class itself. | ||
*/ | ||
export interface UserProfileModuleConfigOptions { | ||
/** | ||
* Whether to automatically send our profile when asked to do so. | ||
* | ||
* @default true | ||
*/ | ||
autoSendProfile?: boolean | ||
} | ||
|
||
export class UserProfileModuleConfig { | ||
#autoSendProfile?: boolean | ||
|
||
private options: UserProfileModuleConfigOptions | ||
|
||
public constructor(options?: UserProfileModuleConfigOptions) { | ||
this.options = options ?? {} | ||
this.#autoSendProfile = this.options.autoSendProfile | ||
} | ||
|
||
/** See {@link UserProfileModuleConfigOptions.autoSendProfile} */ | ||
public get autoSendProfile() { | ||
return this.#autoSendProfile ?? true | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,6 +1,2 @@ | ||
export * from './CommunicationPolicyRecord' | ||
export * from './CommunicationPolicyRepository' | ||
export * from './CommunicationPolicyState' | ||
export * from './ConnectionAcceptancePolicy' | ||
export * from './UserProfileRecord' | ||
export * from './UserProfileRepository' |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.