-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from Nerixyz/feat/more-types
feat: add a few new types
- Loading branch information
Showing
13 changed files
with
120 additions
and
7 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,13 @@ | ||
manual_braid! { | ||
/// A Shared Chat Session ID | ||
pub struct SharedChatSessionId; | ||
pub struct SharedChatSessionIdRef; | ||
} | ||
impl_extra!(SharedChatSessionId, SharedChatSessionIdRef); | ||
|
||
manual_braid! { | ||
/// A Whisper ID | ||
pub struct WhisperId; | ||
pub struct WhisperIdRef; | ||
} | ||
impl_extra!(WhisperId, WhisperIdRef); |
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,27 @@ | ||
manual_braid! { | ||
/// An entitlement ID | ||
pub struct EntitlementId; | ||
pub struct EntitlementIdRef; | ||
} | ||
impl_extra!(EntitlementId, EntitlementIdRef); | ||
|
||
manual_braid! { | ||
/// A benefit ID | ||
pub struct BenefitId; | ||
pub struct BenefitIdRef; | ||
} | ||
impl_extra!(BenefitId, BenefitIdRef); | ||
|
||
manual_braid! { | ||
/// An organization ID | ||
pub struct OrganizationId; | ||
pub struct OrganizationIdRef; | ||
} | ||
impl_extra!(OrganizationId, OrganizationIdRef); | ||
|
||
manual_braid! { | ||
/// An entitlement campaign ID | ||
pub struct EntitlementCampaignId; | ||
pub struct EntitlementCampaignIdRef; | ||
} | ||
impl_extra!(EntitlementCampaignId, EntitlementCampaignIdRef); |
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,6 @@ | ||
manual_braid! { | ||
/// An Extension ID | ||
pub struct ExtensionId; | ||
pub struct ExtensionIdRef; | ||
} | ||
impl_extra!(ExtensionId, ExtensionIdRef); |
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