more code layout changes

This commit is contained in:
Roland Osborne 2022-01-15 13:49:28 -08:00
parent 9324463839
commit 41817dc0a3
7 changed files with 42 additions and 130 deletions

View File

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

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 Authenticate struct {
Token string `json:"token"`
Timestamp int32 `json:"timestamp"`
}

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 Card struct {
CardId string `json:"cardId"`
CardProfile *CardProfile `json:"cardProfile"`
CardData *CardData `json:"cardData"`
ProfileRevision int64 `json:"profileRevision"`
ContentRevision int64 `json:"contentRevision"`
}

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

View File

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

View File

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

View File

@ -62,4 +62,46 @@ type ArticleIdSubjectBody struct {
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"`
}