Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions proto/domain.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -2756,6 +2756,21 @@ struct PartyConfigRef {
1: required base.ID id
}

struct Partner {
1: required string name
2: optional string description
3: required set<ProviderRef> providers
}

struct PartnerObject {
1: required PartnerRef ref
2: required Partner data
}

struct PartnerRef {
1: required base.ID id
}

/* There are 3 requirements on Reference and DomainObject unions:
* - all field types must be unique,
* - all corresponding field names in both unions must match,
Expand Down Expand Up @@ -2802,6 +2817,7 @@ union Reference {
32: PartyConfigRef party_config
33: ShopConfigRef shop_config
34: WalletConfigRef wallet_config
35: PartnerRef partner
}

union DomainObject {
Expand Down Expand Up @@ -2839,6 +2855,7 @@ union DomainObject {
32: PartyConfigObject party_config
33: ShopConfigObject shop_config
34: WalletConfigObject wallet_config
35: PartnerObject partner
}

union ReflessDomainObject {
Expand Down Expand Up @@ -2876,6 +2893,7 @@ union ReflessDomainObject {
32: PartyConfig party_config
33: ShopConfig shop_config
34: WalletConfig wallet_config
35: Partner partner
}

enum DomainObjectType {
Expand Down Expand Up @@ -2913,6 +2931,7 @@ enum DomainObjectType {
party_config = 32
shop_config = 33
wallet_config = 34
partner = 35
}

/* Domain */
Expand Down
Loading