Documentation
¶
Overview ¶
Package verify defines the importer's zero-mismatch rule. Purpose: compare independent observations. Inputs: manifest and target snapshot. Outputs: deterministic item-level mismatches. Constraints: never report content or secrets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Identity ¶
Purpose: one canonical form of a user's nullable identity fields. Inputs: email, phone, display name (nil means SQL NULL). Outputs: a comparable string. Constraints: NULL and empty text stay distinct for email and phone, because hasura-auth keeps email unique; a NULL display name equals "" because the column may be NOT NULL.
Types ¶
type Live ¶
type Metadata ¶
func ParseMetadata ¶
type Mismatch ¶
type Mismatch struct {
Kind string `json:"kind"`
ID string `json:"id"`
Detail string `json:"detail"`
}
type User ¶
type User struct {
ID string `json:"id"`
Email *string `json:"email"`
EmailVerified bool `json:"email_verified"`
Phone *string `json:"phone"`
DisplayName *string `json:"display_name"`
CreatedAt string `json:"created_at"`
Disabled bool `json:"disabled"`
PasswordHash *string `json:"password_hash"`
HashAlgorithm string `json:"hash_algorithm"`
Metadata map[string]any `json:"metadata"`
Roles []string `json:"roles"`
}
Click to show internal directories.
Click to hide internal directories.