mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-05 02:18:48 +00:00
refactor(v2): init events (#7823)
creates events structures for initial projections and read models
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package domain
|
||||
|
||||
const AddedTypeSuffix = "domain.added"
|
||||
|
||||
type AddedPayload struct {
|
||||
Name string `json:"domain"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package domain
|
||||
|
||||
const PrimarySetTypeSuffix = "domain.primary.set"
|
||||
|
||||
type PrimarySetPayload struct {
|
||||
Name string `json:"domain"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package domain
|
||||
|
||||
const RemovedTypeSuffix = "domain.removed"
|
||||
|
||||
type RemovedPayload struct {
|
||||
Name string `json:"domain"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package domain
|
||||
|
||||
const VerifiedTypeSuffix = "domain.verified"
|
||||
|
||||
type VerifiedPayload struct {
|
||||
Name string `json:"domain"`
|
||||
}
|
||||
Reference in New Issue
Block a user