generated from mrz1836/go-template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(SPV-729): filter for access_keys * feat(SPV-729): just maps instead of *maps for conditions * feat(SPV-729): filters for admin endpoints - partial * feat(SPV-729): filters for UTXOs * feat(SPV-729): filters for paymails * feat(SPV-729): filters for xpubs * feat(SPV-729): filter fileds with camelCase json names * feat(SPV-729): linter * feat(SPV-729): unnecessary commented-out code block * feat(SPV-729): update a comment * feat(SPV-729): some filter fileds only for admin * feat(SPV-729): examples for the fields * fix(SPV-729): paymail filter test * feat(SPV-729): regenerated swagger * feat(SPV-729): swagger descriptions and fixes * feat(SPV-729): swagger after branch update
- Loading branch information
1 parent
14f361a
commit 1194719
Showing
66 changed files
with
3,952 additions
and
1,065 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
package accesskeys | ||
|
||
import "github.com/bitcoin-sv/spv-wallet/engine" | ||
import ( | ||
"github.com/bitcoin-sv/spv-wallet/actions/common" | ||
"github.com/bitcoin-sv/spv-wallet/engine" | ||
"github.com/bitcoin-sv/spv-wallet/models/filter" | ||
) | ||
|
||
// CreateAccessKey is the model for creating an access key | ||
type CreateAccessKey struct { | ||
// Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource | ||
Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` | ||
} | ||
|
||
// SearchAccessKeys is a model for handling searching with filters and metadata | ||
type SearchAccessKeys = common.SearchModel[filter.AccessKeyFilter] | ||
|
||
// CountAccessKeys is a model for handling counting filtered access keys | ||
type CountAccessKeys = common.ConditionsModel[filter.AccessKeyFilter] |
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
Oops, something went wrong.