mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
more code layout changes
This commit is contained in:
parent
41817dc0a3
commit
5164cb86ea
@ -1,25 +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 Connect struct {
|
|
||||||
|
|
||||||
RequestorcardId string `json:"requestorcardId,omitempty"`
|
|
||||||
|
|
||||||
RequestedcardId string `json:"requestedcardId,omitempty"`
|
|
||||||
|
|
||||||
Timestamp int32 `json:"timestamp"`
|
|
||||||
|
|
||||||
Profile *Profile `json:"profile"`
|
|
||||||
|
|
||||||
Token string `json:"token"`
|
|
||||||
|
|
||||||
ContentRevision int64 `json:"contentRevision"`
|
|
||||||
}
|
|
@ -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 ContentArticlesBody struct {
|
|
||||||
|
|
||||||
Labels []string `json:"labels"`
|
|
||||||
|
|
||||||
Groups []string `json:"groups"`
|
|
||||||
}
|
|
@ -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 ContentLabelsBody struct {
|
|
||||||
|
|
||||||
Type_ string `json:"type"`
|
|
||||||
|
|
||||||
Data string `json:"data"`
|
|
||||||
}
|
|
@ -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 DataMessage struct {
|
|
||||||
|
|
||||||
MessageType string `json:"messageType"`
|
|
||||||
|
|
||||||
Message string `json:"message"`
|
|
||||||
|
|
||||||
KeyType string `json:"keyType"`
|
|
||||||
|
|
||||||
PublicKey string `json:"publicKey"`
|
|
||||||
|
|
||||||
Signature string `json:"signature"`
|
|
||||||
}
|
|
@ -105,3 +105,31 @@ type CardView struct {
|
|||||||
ProfileRevision int64 `json:"profileRevision"`
|
ProfileRevision int64 `json:"profileRevision"`
|
||||||
ContentRevision int64 `json:"contentRevision"`
|
ContentRevision int64 `json:"contentRevision"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Connect struct {
|
||||||
|
RequestorcardId string `json:"requestorcardId,omitempty"`
|
||||||
|
RequestedcardId string `json:"requestedcardId,omitempty"`
|
||||||
|
Timestamp int32 `json:"timestamp"`
|
||||||
|
Profile *Profile `json:"profile"`
|
||||||
|
Token string `json:"token"`
|
||||||
|
ContentRevision int64 `json:"contentRevision"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ContentArticlesBody struct {
|
||||||
|
Labels []string `json:"labels"`
|
||||||
|
Groups []string `json:"groups"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ContentLabelsBody struct {
|
||||||
|
Type_ string `json:"type"`
|
||||||
|
Data string `json:"data"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type DataMessage struct {
|
||||||
|
MessageType string `json:"messageType"`
|
||||||
|
Message string `json:"message"`
|
||||||
|
KeyType string `json:"keyType"`
|
||||||
|
PublicKey string `json:"publicKey"`
|
||||||
|
Signature string `json:"signature"`
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user