mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
* feat: add new supported attestation formats to genesis * feat: refactor keyType to keytype enum * refactor: remove unused imports and code * refactor: update main.go to use src package * refactor: move web-related structs from to * refactor: move client middleware package to root * refactor: remove unused IndexedDB dependency * feat: update worker implementation to use * feat: add Caddyfile and Caddy configuration for vault service * refactor(config): move keyshare and address to Motr config * fix: validate service origin in AllocateVault * chore: remove IndexedDB configuration * feat: add support for IPNS-based vault access
41 lines
1.2 KiB
Go
41 lines
1.2 KiB
Go
// Code generated from Pkl module `orm`. DO NOT EDIT.
|
|
package orm
|
|
|
|
type Credential struct {
|
|
Id string `pkl:"id" json:"id,omitempty" query:"id"`
|
|
|
|
Subject string `pkl:"subject" json:"subject,omitempty"`
|
|
|
|
Controller string `pkl:"controller" json:"controller,omitempty"`
|
|
|
|
AttestationType string `pkl:"attestationType" json:"attestationType,omitempty"`
|
|
|
|
Origin string `pkl:"origin" json:"origin,omitempty"`
|
|
|
|
Label *string `pkl:"label" json:"label,omitempty"`
|
|
|
|
DeviceId *string `pkl:"deviceId" json:"deviceId,omitempty"`
|
|
|
|
CredentialId string `pkl:"credentialId" json:"credentialId,omitempty"`
|
|
|
|
PublicKey string `pkl:"publicKey" json:"publicKey,omitempty"`
|
|
|
|
Transport []string `pkl:"transport" json:"transport,omitempty"`
|
|
|
|
SignCount uint `pkl:"signCount" json:"signCount,omitempty"`
|
|
|
|
UserPresent bool `pkl:"userPresent" json:"userPresent,omitempty"`
|
|
|
|
UserVerified bool `pkl:"userVerified" json:"userVerified,omitempty"`
|
|
|
|
BackupEligible bool `pkl:"backupEligible" json:"backupEligible,omitempty"`
|
|
|
|
BackupState bool `pkl:"backupState" json:"backupState,omitempty"`
|
|
|
|
CloneWarning bool `pkl:"cloneWarning" json:"cloneWarning,omitempty"`
|
|
|
|
CreatedAt *string `pkl:"createdAt" json:"createdAt,omitempty"`
|
|
|
|
UpdatedAt *string `pkl:"updatedAt" json:"updatedAt,omitempty"`
|
|
}
|