mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 20:49:16 +00:00
more code layout changes
This commit is contained in:
parent
9324463839
commit
41817dc0a3
@ -1,19 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type Asset struct {
|
|
||||||
|
|
||||||
AssetId string `json:"assetId"`
|
|
||||||
|
|
||||||
Transform string `json:"transform,omitempty"`
|
|
||||||
|
|
||||||
Status string `json:"status,omitempty"`
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type Authenticate struct {
|
|
||||||
|
|
||||||
Token string `json:"token"`
|
|
||||||
|
|
||||||
Timestamp int32 `json:"timestamp"`
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type Card struct {
|
|
||||||
|
|
||||||
CardId string `json:"cardId"`
|
|
||||||
|
|
||||||
CardProfile *CardProfile `json:"cardProfile"`
|
|
||||||
|
|
||||||
CardData *CardData `json:"cardData"`
|
|
||||||
|
|
||||||
ProfileRevision int64 `json:"profileRevision"`
|
|
||||||
|
|
||||||
ContentRevision int64 `json:"contentRevision"`
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type CardData struct {
|
|
||||||
|
|
||||||
Revision int64 `json:"revision,omitempty"`
|
|
||||||
|
|
||||||
Status string `json:"status"`
|
|
||||||
|
|
||||||
Notes string `json:"notes,omitempty"`
|
|
||||||
|
|
||||||
Token string `json:"token,omitempty"`
|
|
||||||
|
|
||||||
Groups []string `json:"groups,omitempty"`
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type CardProfile struct {
|
|
||||||
|
|
||||||
Handle string `json:"handle,omitempty"`
|
|
||||||
|
|
||||||
Name string `json:"name,omitempty"`
|
|
||||||
|
|
||||||
Description string `json:"description,omitempty"`
|
|
||||||
|
|
||||||
Location string `json:"location,omitempty"`
|
|
||||||
|
|
||||||
Revision int64 `json:"revision,omitempty"`
|
|
||||||
|
|
||||||
ImageSet bool `json:"imageSet,omitempty"`
|
|
||||||
|
|
||||||
Node string `json:"node"`
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type CardView struct {
|
|
||||||
|
|
||||||
CardId string `json:"cardId"`
|
|
||||||
|
|
||||||
CardRevision int64 `json:"cardRevision"`
|
|
||||||
|
|
||||||
ProfileRevision int64 `json:"profileRevision"`
|
|
||||||
|
|
||||||
ContentRevision int64 `json:"contentRevision"`
|
|
||||||
}
|
|
@ -62,4 +62,46 @@ type ArticleIdSubjectBody struct {
|
|||||||
Data string `json:"data"`
|
Data string `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Asset struct {
|
||||||
|
AssetId string `json:"assetId"`
|
||||||
|
Transform string `json:"transform,omitempty"`
|
||||||
|
Status string `json:"status,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Authenticate struct {
|
||||||
|
Token string `json:"token"`
|
||||||
|
Timestamp int32 `json:"timestamp"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Card struct {
|
||||||
|
CardId string `json:"cardId"`
|
||||||
|
CardProfile *CardProfile `json:"cardProfile"`
|
||||||
|
CardData *CardData `json:"cardData"`
|
||||||
|
ProfileRevision int64 `json:"profileRevision"`
|
||||||
|
ContentRevision int64 `json:"contentRevision"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type CardData struct {
|
||||||
|
Revision int64 `json:"revision,omitempty"`
|
||||||
|
Status string `json:"status"`
|
||||||
|
Notes string `json:"notes,omitempty"`
|
||||||
|
Token string `json:"token,omitempty"`
|
||||||
|
Groups []string `json:"groups,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type CardProfile struct {
|
||||||
|
Handle string `json:"handle,omitempty"`
|
||||||
|
Name string `json:"name,omitempty"`
|
||||||
|
Description string `json:"description,omitempty"`
|
||||||
|
Location string `json:"location,omitempty"`
|
||||||
|
Revision int64 `json:"revision,omitempty"`
|
||||||
|
ImageSet bool `json:"imageSet,omitempty"`
|
||||||
|
Node string `json:"node"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type CardView struct {
|
||||||
|
CardId string `json:"cardId"`
|
||||||
|
CardRevision int64 `json:"cardRevision"`
|
||||||
|
ProfileRevision int64 `json:"profileRevision"`
|
||||||
|
ContentRevision int64 `json:"contentRevision"`
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user