more code layout changes

This commit is contained in:
Roland Osborne 2022-01-15 13:51:59 -08:00
parent 41817dc0a3
commit 5164cb86ea
5 changed files with 28 additions and 82 deletions

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -105,3 +105,31 @@ type CardView struct {
ProfileRevision int64 `json:"profileRevision"`
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"`
}