updating code layout

This commit is contained in:
Roland Osborne 2022-01-15 13:34:10 -08:00
parent 660d83e3bd
commit 1b10c82ecc
8 changed files with 50 additions and 145 deletions

View File

@ -1,18 +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
import (
"os"
)
type AccountsImportBody struct {
FileName **os.File `json:"fileName,omitempty"`
}

View File

@ -1,15 +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 Announce struct {
AppToken string `json:"appToken"`
}

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 App struct {
AppId string `json:"appId"`
AppData *AppData `json:"appData"`
Attached int32 `json:"attached"`
}

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 AppData struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Url string `json:"url,omitempty"`
Image string `json:"image,omitempty"`
}

View File

@ -1,37 +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 Article struct {
ArticleId string `json:"articleId"`
ArticleRevision int64 `json:"articleRevision"`
Type_ string `json:"type"`
Data string `json:"data"`
Created int32 `json:"created"`
Modified int32 `json:"modified"`
Status string `json:"status"`
Labels []string `json:"labels"`
Groups []string `json:"groups,omitempty"`
TagCount int32 `json:"tagCount"`
TagUpdate int32 `json:"tagUpdate,omitempty"`
TagRevision int64 `json:"tagRevision"`
}

View File

@ -1,18 +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
import (
"os"
)
type ArticleIdAssetsBody struct {
FileName **os.File `json:"fileName,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 ArticleIdSubjectBody struct {
Type_ string `json:"type"`
Data string `json:"data"`
}

View File

@ -1,5 +1,9 @@
package databag package databag
import (
"os"
)
type Account struct { type Account struct {
AccountId string `json:"accountId"` AccountId string `json:"accountId"`
Profile *Profile `json:"profile"` Profile *Profile `json:"profile"`
@ -13,3 +17,49 @@ type AccountStatus struct {
ForwardingAddress string `json:"forwardingAddress"` ForwardingAddress string `json:"forwardingAddress"`
} }
type AccountsImportBody struct {
FileName **os.File `json:"fileName,omitempty"`
}
type Announce struct {
AppToken string `json:"appToken"`
}
type App struct {
AppId string `json:"appId"`
AppData *AppData `json:"appData"`
Attached int32 `json:"attached"`
}
type AppData struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Url string `json:"url,omitempty"`
Image string `json:"image,omitempty"`
}
type Article struct {
ArticleId string `json:"articleId"`
ArticleRevision int64 `json:"articleRevision"`
Type_ string `json:"type"`
Data string `json:"data"`
Created int32 `json:"created"`
Modified int32 `json:"modified"`
Status string `json:"status"`
Labels []string `json:"labels"`
Groups []string `json:"groups,omitempty"`
TagCount int32 `json:"tagCount"`
TagUpdate int32 `json:"tagUpdate,omitempty"`
TagRevision int64 `json:"tagRevision"`
}
type ArticleIdAssetsBody struct {
FileName **os.File `json:"fileName,omitempty"`
}
type ArticleIdSubjectBody struct {
Type_ string `json:"type"`
Data string `json:"data"`
}